Is there a function to sum 1:n matrices of same size?
Afficher commentaires plus anciens
I have,
n=user input
a=sum(matrix 1 to n)=element by element addition for matrices 1 to n to give a matrix of the same size.
I have tried a=sum(matrix{1:n}) with no luck.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!