Упражнение 3. Matlab

From Ilianko
Revision as of 11:23, 15 April 2011 by Anko (talk | contribs) (Created page with "== Управляващи оператори == === if == <code><pre> if <expression> statment end if <expression> statement; else statement; end if <expression> statemen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Управляващи оператори

= if

if <expression>
  statment
end

if <expression>
 statement;
else
 statement;
end

if <expression>
 statement;
elseif
 statement;
else
 statement;
end

Релации и логически оператори

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

&, &&, |, ||, ~