Is there a function to sum 1:n matrices of same size?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!