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.
На этой странице сайта вы можете посмотреть видео онлайн MATLAB: Input Loop Function длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Spoon Feed Me 31 Март 2015, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,778 раз и оно понравилось 1 зрителям. Приятного просмотра!