how is working for loop?

explain any body how is working for loop in matlab?..and how to give arguments in that?

 採用された回答

José-Luis
José-Luis 2012 年 10 月 4 日

1 投票

doc for
Matlab's documentation is, in my opinion, quite decent. It is always a good place to start.

5 件のコメント

Dhines
Dhines 2012 年 10 月 4 日
give me a code for e.g?
José-Luis
José-Luis 2012 年 10 月 4 日
for ii = 1:10;
disp(sprintf('The current value of ii is: %i \n',ii));
end
Jan
Jan 2012 年 10 月 4 日
Simply type "doc for" in the command line. Then Matlab's local documentation is displayed and there you find examples. "help for" is a slightly leaner and faster alternative.
Btw. you cannot use such a powerful tool like Matlab without reading the documentation. Start with the "Getting Started" chapters, as their name suggest.
Dhines
Dhines 2012 年 10 月 4 日
thanks for your kindly information
José-Luis
José-Luis 2012 年 10 月 4 日
Please accept the answer if it helped you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by