Join Curt Frye for an in-depth discussion in this video Explore arithmetic, comparison, and logical operators, part of MATLAB 2018 Essential Training.
- [Teacher] I've switched over to MATLAB,…and you can see, here, that I have the Command Window…and I'm not working with any sort of a script file.…And, I'll just run through a number of examples.…Let's say that I have seven plus three, enter.…It gives me 10, and if I do five,…and then a forward slash for division,…by 10, and enter, I get 0.5.…However, remember, I can also use the divides into.…So, if I do five, followed by a back slash,…and then 10 and enter, then I get the answer of two.…
And, what that means again,…is five divides into 10 twice.…If I want to demonstrate the order of operations,…I can do five plus three times nine,…and that should give me 32,…because I do three times nine, first,…followed by five, enter, and I get 32.…However, if I want to change the order of the operations,…then I can type a left parentheses,…then five plus three,…close the parentheses, you see that MATLAB indicates…that I did with a blue highlight,…and then multiplied by nine…and I should get 72, I believe.…
Eight times nine, yeah.…
Author
Released
8/28/2018- Defining variables and contains
- Exploring operators
- Summarizing with built-in functions
- Generating random numbers
- Defining vectors and matrices
- Accepting input in scripts
- Writing and reading data from external files
- Creating custom functions
- Using conditional logic
- Repeating operations with loops
- Working with text strings
- Plotting data and function output
- Formatting, saving, and printing plots
- Using statistical and matrix functions
Skill Level Intermediate
Duration
Views
Related Courses
-
SAS Programming for R Users, Part 2
with Jordan Bakerman2h 2m Intermediate -
R Statistics Essential Training
with Barton Poulson5h 59m Intermediate -
Learning Excel Data-Analysis (2015)
with Curt Frye2h 24m Beginner
-
Introduction
-
What you should know1m 6s
-
1. Starting Out with MATLAB 2018
-
Define ranges of values4m 45s
-
Generate random numbers5m 35s
-
Get help in MATLAB4m 11s
-
2. Managing Vectors and Matrices
-
Define vectors and matrices5m 56s
-
-
3. Creating MATLAB Scripts
-
Create a MATLAB script7m 33s
-
-
4. Conditional Logic and Loops
-
Use is statements3m 45s
-
5. Managing Strings and Data Structures
-
Define string variables2m 9s
-
Concatenate strings3m 12s
-
Convert strings to numbers4m 22s
-
-
6. Performing Advanced Plotting and Statistical Analysis
-
Create other plot types10m 11s
-
Format plot elements4m 56s
-
Save and print plots3m 18s
-
Conclusion
-
Further information1m 6s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Explore arithmetic, comparison, and logical operators