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
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,:))
Abdulaziz jatmi
Abdulaziz jatmi on 10 Nov 2018

0 votes

i want two vectors and create matrix 3x3

1 Comment

Walter Roberson
Walter Roberson on 10 Nov 2018
How are the two vectors related to the 3x3 matrix?

Sign in to comment.

Categories

Tags

Asked:

on 10 Nov 2018

Commented:

on 10 Nov 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!