about separating the variable.
1 view (last 30 days)
Show older comments
i have x = 0 and 2. is there a way to separate those numbers using x1=0 and x2=2 ? i'll use this using programming in matlab.
0 Comments
Accepted Answer
Wayne King
on 13 Sep 2011
Yes, you can also store them in a vector
x = [0 2];
% or as a column vector
x =[0;2];
and then access them by their indices:
x(1)
x(2)
6 Comments
More Answers (0)
See Also
Categories
Find more on Polynomials 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!