Show older comments
i have problem plz help me
Question: a) Create two different vectors of the same length and Create a 3x3 matrix and display the first row of and the second column on the screen.
Answers (2)
madhan ravi
on 10 Nov 2018
Edited: madhan ravi
on 10 Nov 2018
x=1:10;
y=11:20;
matrix=rand(3);
disp(matrix(1:2,:))
1 Comment
madhan ravi
on 10 Nov 2018
question is not clear
Abdulaziz jatmi
on 10 Nov 2018
0 votes
1 Comment
Walter Roberson
on 10 Nov 2018
How are the two vectors related to the 3x3 matrix?
Categories
Find more on Creating and Concatenating Matrices 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!