Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Write a function that creates a matrix m x n in whichthe value of each element of the matrix is the sum of the indices for that cell. So, for example, the value of A(1,1) is 2, A(1,2) is 3, and A(3,6)is 9. Inputs m&n, output matrix A. Write the code

1 visualización (últimos 30 días)
A(1,1)=2 A(1,2)=3 A(3,6)=9

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by