I want Seperate Matrices for different values of n . (Im new to Matlab)
Show older comments
suppose I have a matrix
A=[1+n 3+n; 2 6+n];
and n=1:6;
how to get 6 different matrices A1 A2 A3....A6??.
I tried A(n)=[1+n 3+n; 2 6+n]; but it is giving error.. Pls help Thanx.
Accepted Answer
More Answers (1)
James Tursa
on 13 Apr 2015
Edited: James Tursa
on 13 Apr 2015
0 votes
Don't do this! See these links for better solutions:
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!