1. Commands for Managing a Session
- clc ------ Clears command window
- clear ---- Removes variables from memory
- exist ---- Checks for existence of file or variable
- global -- Declares variables to be global
- help ---- Searches for a help topic
- lookfor - Searches help entries for a keyword
- quit ----- Stops MATLAB
- who ----- Lists current variables
- whos ---- Lists current variables (long display)
2. Commands for Working with the System
- cd -------- Changes current directory
- date ------ Displays current date
- delete ---- Deletes a file
- diary ------ Witches on/off diary file recording
- dir --------- Lists all files in current directory
- load ------- Loads workspace variables from a file
- path ------- Displays search path
- pwd ------- Displays current directory
- save ------- Saves workspace variables in a file
- type ------- Displays contents of a file
- what ------ Lists all MATLAB files in the current directory
- wklread --- Reads .wk1 spreadsheet file
3. Vector, Matrix and Array Commands
- cat --------- Concatenates arrays
- find -------- Finds indices of nonzero elements
- length ------ Computes number of elements
- linspace ---- Creates regularly spaced vector
- logspace --- Creates logarithmically spaced vector
- max -------- Returns largest element
- min --------- Returns smallest element
- prod -------- Product of each column
- reshape ----- Changes size
- size ---------- Computes array size
- sort ---------- Sorts each column
- sum ---------- Sums each column
- eye ---------- Creates an identity matrix
- ones --------- Creates an array of ones
- zeros --------- Creates an array of zeros
- cross ---------- Computes matrix cross products
- dot ------------ Computes matrix dot products
- det ------------ Computes determinant of an array
- inv ------------ Computes inverse of a matrix
- pinv ----------- Computes pseudoinverse of a matrix
- rank ----------- Computes rank of a matrix
- rref ------------ Computes reduced row echelon form
- cell ------------ Creates cell array
- celldisp -------- Displays cell array
- cellplot -------- Displays graphical representation of cell array
- num2cell ------- Converts numeric array to cell array
- deal ------------ Matches input and output lists
- iscell ----------- Identifies cell array
4. Plotting Commands
- axis ------------ Sets axis limits
- fplot ----------- Intellgent plotting of functions
- grid ------------ Display gridlines
- plot ------------ Generates xy plot
- print ----------- Prints plot or saves plot to a file
- title ------------ Puts text at top of plot
- xlabel ---------- Adds text label to x-axis
- ylabel ---------- Adds text label to y-axis
- axes ------------ Creates axes objects
- close ----------- Close the current plot
- close all -------- Closes all plots
- figure ----------- Opens a new figure window
- gtext ------------ Enables label placement by mouse
- hold ------------- Freezes current plot
- legend ----------- Legend placement by mouse
- refresh ----------- Redraws current figure window
- set ---------------- Specifies properties of objects such as axes
- subplot ----------- Creates plots in subwindows
- text ---------------- Places string in figure
- bar ---------------- Creates bar chart
- loglog ------------ Creates log-log plot
- polar ------------- Creates polar plot
- semilogx --------- Creates semilog plot (logarithmic abscissa)
- semilogy --------- Creates semilog plot (logarithmic ordinate)
- staris ------------- Creates stairs plot
- stem -------------- Creates stem plot
'전기' 카테고리의 다른 글
[standard] Power Quality Standards 참고 (국가 및 지역별) (0) | 2023.03.30 |
---|---|
[Rotary Switch] FSR-10 특징 및 사용법 (0) | 2023.02.15 |
MATLAB - Matrix / 매틀랩 - 매트릭스 (행렬) (0) | 2021.01.27 |
MATLAB - plot examples / 매틀랩 - plot 예제 (0) | 2021.01.27 |