How to split a 3 by 3 matrix into rows and save rows separetly in arrays
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to store row 1 in ra, row 2 in rb & row 3 in rc.
0 Kommentare
Antworten (1)
the cyclist
am 16 Jul. 2022
ra = NewRange(1,:);
rb = NewRange(2,:);
rc = NewRange(3,:);
Be aware that you may not actually need to do this separation, because you can always just use NewRange(1,:) for the first row, without defining a new variable.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!