How to solve this problem using loop and If?
이전 댓글 표시
Hello Everybody, i now make this script using loop but now i want to keep using loop but i have this 2 condition. first if the calculation run tethadot variable under 5000*2*pi/60 i use the variable values same as in the script for tethaddot and tetha but second condition if the calcuation reach tethadot >= 5000*2*pi/60 the calculation using this variable tethadot=5000*2*pi/60, tethaddot=0, tetha=5000*t*2*pi/60. how to solve this loop uing if inside it? and finally how can i plot sbx vs Resp and sbx vs tethadot i one figure.Thank You.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!