Difference between revisions of "EGR 103/Lecture03"

From PrattWiki
Jump to navigation Jump to search
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 103]] students:
+
The following is a list of the commands from the help sections covered in Lecture 3 that are required knowledge for [[EGR 103]] students.  Six scripts with demonstrations are available in:
 +
/afs/acpub/courses/2013_fall/egr/103l/LECTURES/lec03
 +
The easiest way to get there in UNIX for students in the class is to type:
 +
Go103
 +
cd ../LECTURES/lec03
 +
Each script is targets at one of the help files listed below.
  
 
== help elmat ==
 
== help elmat ==
Line 20: Line 25:
 
** now: exp, log, log10, sqrt
 
** now: exp, log, log10, sqrt
 
* Complex
 
* Complex
** now: abs, angle, conj, imag, real
+
** now: abs  
 +
** later: angle, conj, imag, real
 
* Rounding and remainder
 
* Rounding and remainder
** now: fix, floor, ceil, round
+
** now: all
** later: mod, sign
 
  
 
== help randfun ==
 
== help randfun ==
Line 30: Line 35:
  
 
== help general ==
 
== help general ==
 +
* General information
 +
** now: logo, membrance, bench
 
* Managing the workspace
 
* Managing the workspace
 
** now: who, whos, clear, quit, exit
 
** now: who, whos, clear, quit, exit

Revision as of 19:18, 1 September 2013

The following is a list of the commands from the help sections covered in Lecture 3 that are required knowledge for EGR 103 students. Six scripts with demonstrations are available in:

/afs/acpub/courses/2013_fall/egr/103l/LECTURES/lec03

The easiest way to get there in UNIX for students in the class is to type:

Go103
cd ../LECTURES/lec03

Each script is targets at one of the help files listed below.

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: eps, realmax, realmin, pi, i, inf, nan, j, why

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, membrance, 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: @