Q:

Create a 3 x 5 matrix of random real numbers. Delete the third row

0

Create a 3 x 5 matrix of random real numbers. Delete the third row. 

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

>> mat = rand(3,5)

mat =

 0.5226     0.9797         0.8757    0.0118        0.2987

 0.8801       0.2714        0.7373    0.8939       0.6614

 0.1730        0.2523        0.1365    0.1991       0.2844

>> mat(3,:) = [ ]

mat =

 0.5226      0.9797     0.8757      0.0118       0.2987

 0.8801      0.2714     0.7373      0.8939       0.6614

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now