Addition inside of an existing Matrix
Ältere Kommentare anzeigen
I am trying to understand how to manipulate a matrix, can anyone please show me how to perform the following action in Matlab?
for example if I had a 2x2 matrix
[a,b;c,d]
How would I be able to achieve
[a,b;c,x+d]
e.g a=1, b=2, c=3, d=4,
if X=10
[1,2;3,X+5]
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Operating on Diagonal Matrices finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!