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.
Nesta página do site você pode assistir ao vídeo on-line MATLAB: Input Loop Function duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Spoon Feed Me 31 Março 2015, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,778 vezes e gostou 1 espectadores. Boa visualização!