Probrané funkce Matlabu

 

 

1.      a 2. cvičení

 

help

lookfor

who

whos

clear

clc

format

 

ones

zeros

eye

rand

randn

magic

pascal

 

size

length

 

sin

cos

exp

abs

sqrt

log

log10

 

inv

det

 

sum

min

max

mean

 

Poznámka: 3 typy elementárních funkcí pro argument typu matice:

1.      MATICOVÉ - aplikují se na celou matici (inv, det, ...)

2.      VEKTOROVÉ - aplikují se na každý sloupec zvlášť (sum, max, ...)

3.      SKALÁRNÍ  - aplikují se na každý prvek matice zvlášť (sin, exp, ...)

 

 

3.       cvičení

 

input

disp

 

 

4.       cvičení

 

plot

axes

axis

subplot

figure

title

xlabel

ylabel

legend

grid

text

line

stem

bar

pie

close

 

 

 

5.       cvičení

 

if - else -elseif -end

for -end

 

relační operátory a funkce:

>, >=, ==,<=,<, ~=

and ( & )

or ( | )

not ( ~ )

xor

 

any

all

 

 

6.      a 7.  cvičení

 

while

find

sort

case

set

get

gca, gcf,

 

 

8.      cvičení