how can i assign elements of a numeric matrix to variable matrix
Show older comments
let i have a matrix a=[2,3,4,4,5] and i have to store it in a variable matrix s=[z,x,c,v,b] such that z=2,x=3,c=4 and so on..
2 Comments
James Tursa
on 27 Aug 2015
Can you be more explicit in your question? From what you have written, I would have just suggested:
s = a;
But I suspect that this isn't what you are asking. Are you trying to deal the elements of "a" into separate variables?
bizzybee in
on 29 Aug 2015
Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!