Skip to content

Latest commit

 

History

History
47 lines (20 loc) · 466 Bytes

README.md

File metadata and controls

47 lines (20 loc) · 466 Bytes

Matlab 基础编程


目录

在多行上继续执行长语句

调用函数

在多行上继续执行长语句

%% This is a matlab program learing begin
% 换行
s = 1 - 1/2 + 1/3 - 1/4 + 1/5 ...
-1/6 + 1/7 -1/8 + 1/9;

调用函数

A = [1 3 5];
%返回数组中最大的一个数字
B = max(A);
%返回数组中最小的一个数字
C = min(A);