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?
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 Exchange에서 MATLAB에 대해 자세히 알아보기

제품

태그

질문:

2012년 10월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by