Linear algebra Equation Learning
Show older comments
If I am following along a text book to learn linear equations; how do I get my variable to update without reentering it?
a=[1 5 7] %setup row 1
b=[-2 -7 -5] %setup row 2
y=[a;b] %setup matrix
c=a*2 %setup var c to multiply all of a by 2
b=b+c %add c to b
y
at this point, y is still [1 5 7;-2 -7 -5]
how do I get y to update automatically? I don't want to have reenter it every time?
I just started my linear algebra course and I want to use MATLAB to learn it. I am not interested in just blindly solving the equations automatically.
Please help!! ;)
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics 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!