about separating the variable.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Wayne King
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Polynomials dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!