How to assign two identifiers to a vector of n values.
1 view (last 30 days)
Show older comments
Hi, I need to assign two identifiers to a vector of n values like V i,j in a way that V is not a cell but it is a vector of n values. How can I do that
0 Comments
Accepted Answer
Azzi Abdelmalek
on 1 Dec 2013
Edited: Azzi Abdelmalek
on 1 Dec 2013
V=[2 4;5 8] % V is a matrix not a vector
i=1;
j=2;
V(i,j)
Look at
doc array
3 Comments
More Answers (0)
See Also
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!