LOOP!!! Please explain to me !!

5 Kommentare

Stephen23
Stephen23 am 29 Aug. 2018
@Kae-Shyang Chen: what have you tried so far?
Kae-Shyang Chen
Kae-Shyang Chen am 29 Aug. 2018
PLEASE EXPLAIN LOOPS TO ME I DONT KNOW HOW they WORKS
Kae-Shyang Chen
Kae-Shyang Chen am 29 Aug. 2018
t_start and t_end i will prompt user to input in my function caller
Rik
Rik am 29 Aug. 2018
Have you read the documentation for the functions you're using?
A for loop will execute the contents of the loop for each value in the vector you enter. A while loop will continue to execute while the test you enter is true.
Also, you should pay attention to the orange squiggles, they indicate warnings that the code analyzer picked up. Generally you should try to solve each one.
Rik
Rik am 29 Aug. 2018
You should only use flags to attract attention to site admins, use comments to communicate to other users in the thread. You also shouldn't necessarily close your question for other reasons than the two reasons you can choose in the menu (unclear or not appropriate for the site).

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 29 Aug. 2018

Erneut geöffnet:

Rik
am 29 Aug. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by