现在的位置: 首页 > 综合 > 正文

matlab下nookbook的使用

2019年05月16日 ⁄ 综合 ⁄ 共 294字 ⁄ 字号 评论关闭

           nootbook是用来在word下进行matlab操作,并能够在word中保存matlab执行后的结果,使用起来比较方便。

          安装语句:nootbook -setup

          启动语句:nootbook

我的使用过程:

执行这句话
a=[1,2,3,4,5];  
b=[1,2,3]  

b =
     1     2     3  
plot(a,b)  

??? Error using ==> plot
Vectors must be the same lengths.  
b=[1,2,3,4,5]  

b =
     1     2     3     4     5  
plot(a,b)  

   


单元组
a=[1,2,3,4,5];
b=[1,2,3,4,5];  
for k=1:5  
	y=k; 
end  

 

抱歉!评论已关闭.