Difference between revisions of "EGR 103/Lecture03"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | The following is a list of the commands from the help sections covered in Lecture 3 that are required knowledge for EGR | + | The following is a list of the commands from the help sections covered in Lecture 3 that are required knowledge for [[EGR 103]] students. |
+ | <!-- | ||
+ | The scripts from class can be obtained with the commands | ||
+ | wget people.duke.edu/~mrg/EGR103public/Lec3Files.tar | ||
+ | tar -xvf Lec3Files.tar | ||
+ | --> | ||
== help elmat == | == help elmat == | ||
* Elementary matrices | * Elementary matrices | ||
− | ** now: zeros, ones, eye, linspace, logspace | + | ** now: zeros, ones, eye, linspace, logspace, : |
** later in the course: meshgrid | ** later in the course: meshgrid | ||
* Basic array information | * Basic array information | ||
Line 10: | Line 15: | ||
* Matrix manipulation | * Matrix manipulation | ||
** now: :, end | ** now: :, end | ||
− | ** later: reshape | + | ** later: reshape, find |
* Special variables and constants | * Special variables and constants | ||
− | ** now: | + | ** now: pi, i, inf, nan, j, why |
+ | ** later: eps, realmax, realmin | ||
== help elfun == | == help elfun == | ||
* Trigonometric | * Trigonometric | ||
− | ** now: all | + | ** now: all -- note ending "d" for some to use degrees versus default of radians |
* Exponential | * Exponential | ||
** now: exp, log, log10, sqrt | ** now: exp, log, log10, sqrt | ||
* Complex | * Complex | ||
− | ** now: abs | + | ** now: abs |
+ | ** later: angle, conj, imag, real | ||
* Rounding and remainder | * Rounding and remainder | ||
− | ** now: | + | ** now: all |
− | |||
== help randfun == | == help randfun == | ||
* Random matrices | * Random matrices | ||
− | ** now: rand, | + | ** now: rand, randi, randn |
== help general == | == help general == | ||
+ | * General information | ||
+ | ** now: logo, membrane, bench | ||
* Managing the workspace | * Managing the workspace | ||
** now: who, whos, clear, quit, exit | ** now: who, whos, clear, quit, exit | ||
Line 51: | Line 59: | ||
** later: all | ** later: all | ||
* Special characters: | * Special characters: | ||
− | ** now: : [] % ' | + | ** now: : [] % ' , ; |
+ | ** later: @ |
Latest revision as of 16:59, 26 November 2018
The following is a list of the commands from the help sections covered in Lecture 3 that are required knowledge for EGR 103 students.
help elmat
- Elementary matrices
- now: zeros, ones, eye, linspace, logspace, :
- later in the course: meshgrid
- Basic array information
- now: size, length, numel
- later: disp
- Matrix manipulation
- now: :, end
- later: reshape, find
- Special variables and constants
- now: pi, i, inf, nan, j, why
- later: eps, realmax, realmin
help elfun
- Trigonometric
- now: all -- note ending "d" for some to use degrees versus default of radians
- Exponential
- now: exp, log, log10, sqrt
- Complex
- now: abs
- later: angle, conj, imag, real
- Rounding and remainder
- now: all
help randfun
- Random matrices
- now: rand, randi, randn
help general
- General information
- now: logo, membrane, bench
- Managing the workspace
- now: who, whos, clear, quit, exit
- later: load, save
- Controlling the command window
- now: format
- later: echo, diary
help datafun
- Basic operations
- now: max, min, mean, median, mode, sort, sortrows, sum
- later: std, var, hist, trapz, cumsum, cumtrapz
help ops
- Arithmetic operators
- now: + - * .* / ./ ^ .^
- later: \ .\
- Relational operators
- later: all
- Logical operators
- later: all
- Special characters:
- now: : [] % ' , ;
- later: @