Join Patrick Royal for an in-depth discussion in this video Understanding data types, part of Learning MATLAB.
Let's look at the ways in which MATLAB represents and understands numerical data. …Normally, when programming, it's easy to ignore data types and just assume that …the program knows what it's doing. The assumption is that MATLAB will give …the exact answer to any calculation because it uses so many decimal points …that the error is extremely tiny. However these tiny errors can cause huge …problems, making it important to have some grasp over the difference between …different types of ints and doubles. For an example of this see …roundoff_error.m in the exercise files. This graphs two exponential decay …sequences on a logarithmic graph. We'll go into more detail about the exact …mechanics behind graphing and how to use graphing functions in a later video.…
Both sequences change by the exact same amount each time. …The only difference is the starting point, so they should be parallel. …We would expect both sequences to go uniformly downward in a straight line, …but that's only true of sequence x. Running this sequence yields the graph …
- 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.