The while loop repeatedly executes statements while condition is true.
The syntax of a while loop in MATLAB is –
The while loop repeatedly executes program statement(s) as long as the expression remains true.
An expression is true when the result is nonempty and contains all nonzero elements (logical or real numeric). otherwise, the expression is false.
Create a script document and type the following code
When you run the file, it displays the following result –
MATLAB Related Interview Questions
|Basic Simulation Interview Questions||C Interview Questions|
|Embedded Systems Interview Questions||Linux Embedded systems Interview Questions|
|LabView Interview Questions||Java Interview Questions|
|Digital image processing Interview Questions||XLink Interview Questions|
|Embedded C Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.