Replacing 0 with 8 in Identity Matrix

1 visualización (últimos 30 días)
May Myat Noe Tun
May Myat Noe Tun el 17 de Oct. de 2019
Respondida: Walter Roberson el 17 de Oct. de 2019
So I have a 2 by 2 matrix after running the following command.
x=eye(2);
How do I replace the 0s with 8s by using arithmetic function?

Respuestas (1)

Walter Roberson
Walter Roberson el 17 de Oct. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by