for loop with syms variable
Afficher commentaires plus anciens
I am trying to make a loop such that will generate c1=cos(th1) c2=cos(th2).....etc, how can I fix this?
syms th th1 th2 th3 th4 th5 th6
for N=1:6
c(N)=cos(th(N));
end
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!