I'm trying to write a program that asks the user what the dimensions of their square matrix are then takes that number, asks for each entry and creates the matrix for the program to use for the rest of the questions. I know how to create one row at a time, but I can't figure out how to put all the rows together to make one matrix.
1 Comment
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/117017-how-do-i-create-a-square-matrix-based-on-user-input#comment_385558
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/117017-how-do-i-create-a-square-matrix-based-on-user-input#comment_385558
Sign in to comment.