Assign values to symbolic matrix

3 views (last 30 days)
Joy Mondal
Joy Mondal on 30 Jul 2019
Edited: madhan ravi on 30 Jul 2019
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]
......

Accepted Answer

madhan ravi
madhan ravi on 30 Jul 2019
Edited: madhan ravi on 30 Jul 2019
As = cell(n,1);
for k = 1:n
As{k} = ... your code
end

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!