Filter löschen
Filter löschen

Using a for loop to vary the angle (θ = 10 deg – 90deg )

1 Ansicht (letzte 30 Tage)
Daniel
Daniel am 27 Okt. 2022
Kommentiert: Daniel am 27 Okt. 2022
How do I make a for loop in Matlab for a range of theta for my velocity term of 10m/s?

Akzeptierte Antwort

Image Analyst
Image Analyst am 27 Okt. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by