MATLAB: While Loop Count Backwards

Publié le: 31 mars 2015
sur la chaîne: Spoon Feed Me
4,290
15

http://goo.gl/N7Ij1U for more FREE video tutorials covering MATLAB Programming

In this tutorial, we are going to do a workout program of counting backwards from a given number stopping at zero followed by the displaying of program outcomes in the screen using ‘while’ loop. At first, the video takes the word ‘index’ as a variable and assigns the value of the variable as 20. Next, the video shows the ‘While’ loop coding and subsequently explains the logical conditions written in the loop coding and completed the loop by closing it with the short text code ‘end’.

Moving on, the video saves the program & executes the ‘run’ command that displays the outcomes once after another in a column in the command window. Later, the video edits the print command & successively shows how to displays the program outcome in a row over the screen. The ‘While’ loop count backwards workout is pretty simple; however, understanding this completely will help to do more complicated program using MATLAB.


Sur cette page du site, vous pouvez voir la vidéo en ligne MATLAB: While Loop Count Backwards durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Spoon Feed Me 31 mars 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,290 fois et il a aimé 15 téléspectateurs. Bon visionnage!