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.

回答(2 个)

madhan ravi
madhan ravi 2018-11-10
编辑:madhan ravi 2018-11-10
x=1:10;
y=11:20;
matrix=rand(3);
disp(matrix(1:2,:))
Abdulaziz jatmi
Abdulaziz jatmi 2018-11-10

0 个投票

i want two vectors and create matrix 3x3

1 个评论

How are the two vectors related to the 3x3 matrix?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by