- 博客(4)
- 收藏
- 关注
原创 matlab——基础绘图
matlab——基础绘图 Basic Plotting plot() plot(cos(0:pi/20:2*pi)); hold on/off hold on %保留图形 plot(cos(0:pi/20:2*pi)); plot(sin(0:pi/20:2*pi)); hold off %消除图形 plot style 可在command wind...
2019-04-17 11:02:52
475
原创 matlab——变量与档案存取
matlab——变量与档案存取 matlab data (variable) types double A=20; % A为default double int B=int8(20); % B为int8 char s1='h' whos % variable information:s1 2 bytes char型 uint16(s1) % s1的A...
2019-04-14 20:48:51
528
原创 matlab——结构化程式与自定义函数
matlab (03)结构化方程式与自定义函数 script writing new script: 某一句变注解:前面加% 一大段变注解:选中后右键"comment" ; 取消注解 :右键"uncomment" 划区块: %% 执行区块: run section 执行全部 :run 自动缩排 :选中右键"smart indent" Structured program...
2019-04-14 19:27:20
365
原创 matlab——基本操作与矩阵输入
matlab(02)基本操作与矩阵输入 Matlab as calculator operators priority: ( ) > ^ > * , / > + , - 不要用bulit-in function name 或者 keyword 当作 variable name format long : 保留15位小数 format longE :保留15位小数且显...
2019-04-14 10:34:14
408
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人