打赏
摘要: 摘录自:https://blog.csdn.net/smf0504/article/details/51830963 https://www.cnblogs.com/shuqingstudy/p/4853936.html 一、hold指令使用 正常情况下,plot指令显示figure时,以前的数据丢 阅读全文
posted @ 2019-02-18 23:08 海米傻傻 阅读(21162) 评论(0) 推荐(0) 编辑
摘要: clear all; clc; a = []; %不是null,也不能什么都不是 for i=1:10 a = [a i]; end 阅读全文
posted @ 2019-02-18 23:06 海米傻傻 阅读(2486) 评论(0) 推荐(0) 编辑
摘要: 摘录网址:https://blog.csdn.net/wangh0802/article/details/70312415 参考网址:https://jingyan.baidu.com/article/b2c186c83ec146c46ef6ff99.html 读取: A = xlsread('Ex 阅读全文
posted @ 2019-02-18 23:05 海米傻傻 阅读(28762) 评论(0) 推荐(0) 编辑
摘要: disp(X)函数只有一个输入,当你有多个字符串作为输入时就会报错。 错误举例: disp('Alice is ' , num2str(12) , ' years old!' ); 就会报错--输入参数过多。 但是将里边的内容用中括号一括就成了一个字符串, 正确举例: str=['Alice is 阅读全文
posted @ 2019-02-18 20:18 海米傻傻 阅读(4114) 评论(0) 推荐(0) 编辑
摘要: 参考:https://jingyan.baidu.com/article/7f41ecec1ad029593c095c70.html 阅读全文
posted @ 2019-02-18 18:54 海米傻傻 阅读(1136) 评论(0) 推荐(0) 编辑