フィルターのクリア

making each column a stand alone variable

1 回表示 (過去 30 日間)
DARLINGTON ETAJE
DARLINGTON ETAJE 2019 年 8 月 8 日
編集済み: Stephen23 2019 年 8 月 9 日
Let's assume A=[B C D]
B=[1;2;3;4]
C=[5;6;7;8]
D=[0;4;3;2]
E=A'
how do I automatically make
F=A(:,1)
G=A(:,2)
H=A(:,3)
J=A(:,4)
  2 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 8 月 8 日
Error: A size is 4x3 and you are trying to acess A(:,4)??
Stephen23
Stephen23 2019 年 8 月 9 日
編集済み: Stephen23 2019 年 8 月 9 日

サインインしてコメントする。

回答 (1 件)

madhan ravi
madhan ravi 2019 年 8 月 8 日
編集済み: madhan ravi 2019 年 8 月 8 日
Wanted = num2cell(E,1) % keep it this way, don't think of naming etc, etc...,

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by