undefined function or variable 'th14'
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
baris
il 3 Dic 2014
Commentato: Sean de Wolski
il 4 Dic 2014
hi, i am new in matlab i have a problem with finding 'th14' can u help me please? it say * 'Undefined function or variable 'th14''. *
- for i=1:1:360
th12=i/deg;
tth12(i)=th12; % tth12(i) indicates the i‟th element of the array.
th14=-1*(atan((0.08*cos(th12)-0.18-0.05*cos(th14))/(0.08*sin(th12)-0.05*sin(th14))));
tth14(i)=th14;*
0 Commenti
Risposta accettata
Sean de Wolski
il 4 Dic 2014
th14=-1*(atan((0.08*cos(th12)-0.18-0.05*cos(th14))/(0.08*sin(th12)-0.05*sin(th14))));
This is the line where th14 is defined, but the right hand side is attempting to use th14 which does not exist since it has not been defined yet.
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Calculus 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!