about separating the variable.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Wayne King
il 13 Set 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Polynomials in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!