matlab下nookbook的使用


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 

相关内容