creating matrix using existing matrix
Mostra commenti meno recenti
given a matrix, how do you apply a function on every element to create a new matrix of the same size ?
1 Commento
Wan Ji
il 15 Ago 2021
That's simple, e.g.
A = magic(5);
B = A.^2 + 3*A + 4;
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Creating and Concatenating Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!