필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Daniel
Daniel 2022년 10월 27일
댓글: Daniel 2022년 10월 27일
How do I make a for loop in Matlab for a range of theta for my velocity term of 10m/s?

채택된 답변

Image Analyst
Image Analyst 2022년 10월 27일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by