Create a matrix of 3 by 3 with all ones, then Create matrix of 8 by 1 with all zeros, finally Create a matrix of 5 by 2 with all elements equal to 0.37.
Create a matrix of 3 by 3 with all ones, then Create matrix of 8 by 1 with all zeros, finally Create a matrix of 5 by 2 with all elements equal to 0.37.
Solution:
P=ones(3)
Q=zeros(8,1)
R=ones(5,2)
Q=zeros(8,1)
R=ones(5,2)
S=0.37*R
Comments
Post a Comment