Enter matrix as table format in editor?
Show older comments
Hello,
it is possible to enter a matrix like in the matlab editor
M=[ 1 200 56;
67 0 34;
9 1123 467];
in a kind of "table format" that does not loose its arragement of rows and colummns if I i.e. change the number of digits in one place?
Best regards, Tina
2 Comments
madhan ravi
on 25 Mar 2019
please share a picture of your desired with the matrix M
Tina Gottwald
on 25 Mar 2019
Answers (1)
KALYAN ACHARJYA
on 25 Mar 2019
If I undestand the question, are you looking for this one or mat file??
M=[ 1 200 56;
67 0 34;
9 1123 467]
Command Window:
M =
1 200 56
67 0 34
9 1123 467
4 Comments
Tina Gottwald
on 25 Mar 2019
KALYAN ACHARJYA
on 25 Mar 2019
Edited: KALYAN ACHARJYA
on 25 Mar 2019
Same thing internaly reflected in varibles (Double click on particular variable)

Tina Gottwald
on 25 Mar 2019
Edited: Tina Gottwald
on 25 Mar 2019
KALYAN ACHARJYA
on 25 Mar 2019
Edited: KALYAN ACHARJYA
on 25 Mar 2019
Hello @Tina
Matrices or vectors are stored in that similliar way. All variables use in script are reflected in workspace, just double click on the variable in workspace you will get the sheet.
All vectors are reflected in the same way internally.
Hope it Helps!
Categories
Find more on Characters and Strings 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!