Commands For Managing A Sessions: Helpwin
Commands For Managing A Sessions: Helpwin
help
helpwin
helpdesk
help topic
lookfor keyword
demo
exist
Workspace information
who
whos
clear
clear
x y z
clc
clf
home
What
clear all
1|BASICS OF MATLAB
Directory information
pwd
cd
dir/ls
path
editpath
copyfile
Copies a file
mkdir
Make a directory
Termination ctrl+c
quit/exit
computer
clock
date
more
ver
bench
cputime
pause (sec)
save(filename)
type file
delete file
2|BASICS OF MATLAB
Others
load (filename)
wk1read/wk1write
Read and write variable,not available in future versions
(filename,variable)
diary
Switches on/off diary file recording.
diary on/off
diary(filename)
dos command
3|BASICS OF MATLAB
Arithmetic Operator
Command / help
Sign
Uses
plus
uplus
minus
Minus
uminus
mtimes
Matrix multiply
times
.*
Array multiply
mpower
Matrix power
power
.^
Array power
mldivide
mrdivide
ldivide
.\
rdivide
./
idivide
NA
Plus
idivide(A, B, opt)
kron
NA
Relational Operator
Commands / help
Sign
Uses
eq
==
Equal
ne
~=
Not equal
lt
<
Less than
gt
>
Greater than
le
<=
ge
>=
4|BASICS OF MATLAB
Commands / help
Sign
Uses
relop
&&
Logical operators
relop
||
Short-circuit logical OR
and
&
or
Element-wise logical OR
not
Logical NOT
xor
Special characters
any
all
Commands / help
Sign
Uses
colon
Colon
paren
( )
paren
[ ]
Brackets
paren
{ }
punct
punct
Decimal point
punct
punct
..
Parent directory
punct
...
Continuation
punct
Separator
punct
Semicolon
punct
Comment
punct
punct
Assignment
punct
'
Quote
transpose
.'
Transpose
ctranspose
'
horzcat
[,]
Horizontal concatenation
5|BASICS OF MATLAB
vertcat
[;]
Vertical concatenation
subsasgn
(),{},.
Subscripted assignment
subsref
(),{},.
Subscripted reference
subsindex
metaclass
Subscript index
Predefined variables
& constants
class of object.
ans
eps
i,j
Inf
infinity
NaN
Not a number
pi
22/7
6|BASICS OF MATLAB