Join Patrick Royal for an in-depth discussion in this video Creating responsive programs, part of Up and Running with MATLAB.
As a highly technical formula based computing language. …MATLAB is perhaps less dependent on user input then languages like Java or C++ …that are often based around the gooey. However, it still has several important …commands that can be used to wait for and process user input. …For this video we'll use the responsive practice dot m file and exercise files. …This is a simple script that calculate a number of sample statistic from a set of …stock prices. But right now everything is calculated immediately.…
Running a function will immediately output a list of all of the sample …statistics including a plot. It is more user friendly though to …calculate one result at a time, waiting for user input between each one. …The simplest function that can do this is pause. …This function, which requires no input pauses your script to stop until the user …presses any key. Adding a numerical input in the form of …pause parentheses and then a number causes the program to wait for that …number of seconds and then continue on its own.…
- Installing MATLAB
- Working with MATLAB variables
- Working with matrix and scalar operations
- Creating functions
- Understanding performance considerations
- Building basic plots
- Creating responsive programs
- Editing variables manually
- Working with the Statistics Toolbox
Skill Level Intermediate
PHP with MySQL Essential Trainingwith Kevin Skoglund14h 32m Beginner
1. General Concepts
2. Core MATLAB Syntax
3. Programming in MATLAB
4. Data Representations
5. External Toolboxes
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.