I need to know whether my projectline goes between the goal posts on 3d plot. Should i use if stamentet or while loop and if so how? This is what i've tried

조회 수: 1 (최근 30일)
if xyz(:,1) >= 31.25
elseif xyz(:,1) <= 36.75
elseif xyz(:,2) >= 98
elseif xyz(:,2) <= 102
elseif xyz(:,3) >= 3
disp('successful');
else
disp('unsuccessful');
end
  댓글 수: 1
John D'Errico
John D'Errico 2016년 4월 16일
편집: John D'Errico 2016년 4월 16일
Please learn to format pasted in code to be readable. Use the "{} Code" button for that purpose. I've done that for you here this time.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by