Assign values to symbolic matrix

3 次查看(过去 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 CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by