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.
In questa pagina del sito puoi guardare il video online MATLAB: Input Loop Function della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Spoon Feed Me 31 marzo 2015, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,778 volte e gli è piaciuto 1 spettatori. Buona visione!