MATLAB è Simulink íà ðóññêîì

https://hub.exponenta.ru/

MATLAB

.. " Matlab" (v 5.3)
3. Matlab 5

  \ \ \

3.1.

, MATLAB, M-. M- ; - ; . , :

  • M-, :
function c = myfile(a, b) c = sqrt((a.^2)+(b.^2))
  • M- M-:

>> = 7.5
>> b = 3.342
>> c = myfile(a, b)

c =      8.2109

M-. M-: - -

- -
,
, MATLAB ( , )

M-. -,


function f = fact (n)
% FACT .
% fact(n) n! - n
% fact (n) = prod(1:n).
f = prod(1:n);

, MATLAB:

  • , .
  • . lookfor help .
  • help .
  • - , .

  \ \ \

 


:


 Orphus