Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Iteration - Persian

This is a sample video. To access the full content,
please Login

707 visits



Outline:

تکرار توضیح ترکیب دستور ماینز فور و می‌گوید که متغیر بر لیست / بردار / ماتریس تکرار می‌شود ( یا هر عبارتی که طبق هر یک از این‌ها ارزیابی می شود). i=1:5, disp (I) end مثال داده شده: برای end,end for i = 1:10, disp(i), if (i==5), break, را توضیح می دهد. مثال استفاده شده break سپس حالت else disp(i), end, end for i = 1:10, if (i<=5) then continue, را توضیح می دهد. مثال استفاده شده Continue سپس حالت .را توضیح می دهد while حالت i = 0; while(i <=5), i = i + 1; d مثال داده شده