http://goo.gl/y22ENW for more FREE video tutorials covering MATLAB Programming
This video demonstrates an example of creating function that can call to keep getting the user input until a valid value has been entered as input. At first, the video clears the concept on upper & lower bound and then defines the function introducing string variables that will pop up when the created function will be called in the command window. Next, the video incorporates the necessary logics & conditional statements using ‘While’ loops inside the function explaining all the facts in details.
Moving on, the video runs the function and verifies the outputs by giving different inputs. Later, the video shows how to use ‘If’ & ‘Else’ statement inside the function so that the function when called at command window can inevitably rearrange the lower & upper bound values as per their numerical weight and consequently works by calling to keep getting the user input until a valid value has been entered as input. Understanding this example will help to learn the uses of loop properly in creating different functions to make the programming task much easier in MATLAB.
Auf dieser Seite können Sie das Online-Video MATLAB: Input Loop Function mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Spoon Feed Me 31 März 2015 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,778 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!