有时候拷过来一个程序,新建一个m文件粘贴进去后F5命名后会出现一个matlab editor的窗口!下面说file E:/matlab/***.m is not in the current directory or an the matlab path.下面有三个选择项:to run this file,select one of the following:.....如果还看不懂我在写出来!多谢!
还有个问题是我的matlab曾经处理一个程序能达到死机的地步!为什么啊?那是一个对图像进行放大或缩小的程序!内存能达到94%!我的是1G内存!matlab占用300多兆!为什么啊?答得全面的再加分!一定!!!!!你的回答第一段没看明白!我是在work文件夹里面建的新的m文件!写上程序!程序里面就是简单的画图(序列)没有调用其他的程序!就是下面的程序r = input ('Type in the residues r = ');p = input ('Type in the pole p = ');k = input ('Type in the constants k = ');[num,den] = residuez(r,p,k);disp('numerator polynomial coefficients');disp(num)disp('denominator polynomial coefficients');disp(den)
|