随笔分类 - matlab
摘要:1,在matlab中建一个m文件(test.m)例如:function test(h,D)for x=-10:0.1:10, if x>D y=h; hold on; plot(x,y) elseif x<-D y=-h; hold on; plot(x,y) else y=h/(D*x); hold on; plot(x,y) endend在MATLAB R2007a中输入deploytool命令(在matlab6.5中输入comtool),打开Matlab Build For .net窗口新建个工程,在此工程中“Add files”即填加test.m这个文件,b
阅读全文
浙公网安备 33010602011771号