Using a for loop to vary the angle (θ = 10 deg – 90deg )
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
How do I make a for loop in Matlab for a range of theta for my velocity term of 10m/s?
0 Commenti
Risposta accettata
Image Analyst
il 27 Ott 2022
Try this
numAngles = 100; % However many angles you want
theta = linspace(0, 90, numAngles);
or
theta = 10 : 5 : 90; % Adjust middle number to adjust the step size.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Labels and Annotations 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!