Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to create a for loop

조회 수: 1 (최근 30일)
Veronika
Veronika 2014년 11월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
Dear all,
This is a part of my code:
('x-'num2str(i)').^2+(y-'num2str(j)').^2<0.1^2','x','y','z');
select_fcn = inline('(x-i).^2+(y-j).^2<0.1^2','x','y','z');
I want to create a for loop to change variables i and j. For example i=0.5 and j=0.1, not the same values like i=0.5 and j=0.5.
Thank you for your answers.

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by