Make the following variable:
A 9x9 matrix of zeros, but with the following values on the main diagonal:
(Hint: use diag)
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more