Assign values to symbolic matrix

6 ビュー (過去 30 日間)
Joy Mondal
Joy Mondal 2019 年 7 月 30 日
編集済み: madhan ravi 2019 年 7 月 30 日
As=sym('As',[1,5])
As =[ As1, As2, As3, As4, As5]
now I want to enter numerical quantities to the each elements of matix in As in a loop
As1=[1;2;3]
As2=[4;5;6]
......

採用された回答

madhan ravi
madhan ravi 2019 年 7 月 30 日
編集済み: madhan ravi 2019 年 7 月 30 日
As = cell(n,1);
for k = 1:n
As{k} = ... your code
end

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by