Question: 3 . Matrix variables. Make the following variables 2 ! 2 a . aMat = # a 9 x 9 matrix full of
Matrix variables. Make the following variables a aMat # a x matrix full of s use ones or zeros b bMat # # a x matrix of all zeros, but with the values on the main diagonal use zeros, diag c cMat a x matrix where the vector : runs down the # # # columns use reshapeNaN NaN NaN NaN d dMat NaN NaN NaN NaN a x NaN matrix use nanNaN NaN NaN NaN e eMat f Make fMat be a x matrix of random integers with values on the range to First use rand and floor or ceil. Now only use randi
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
