Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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 visualizzazione (ultimi 30 giorni)
A(1,1)=2 A(1,2)=3 A(3,6)=9

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by