Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to create a for loop

1 Ansicht (letzte 30 Tage)
Veronika
Veronika am 20 Nov. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by