[求助]求教一个问题
我编了一个matlab程序,<BR>结果太长了,在command window中显示不完整<BR>如何操作? 结果太长了?什么意思?是没有完全显示出来还是显示不完?<BR>是不是循环不对啊<BR>如果长,他应该可以一页不行两页直到显示完为止的啊 function dtdyy<BR>more on<BR>more(20)<BR>a=rand(400,1)回复:(bainhome)function dtdyymore onmore(20)a=r...
。。。。。。。。太强了你<BR>我这还没明白问题,你这已经解决了.. <P>怎嬷用呀?<BR>直接加在程序后面吗?<BR></P> 这个是个m文件应该<BR>你放在work中,到时候,运行不动时候输入dtdyy即可<BR>应该是这样。 看看more的用法<br>这个程序把400个数据分20个页面显示...<br>[此贴子已经被作者于2006-6-7 14:50:45编辑过]
回复:(bainhome)晕...看看more的用法这个程序把400...
........我......你怎么不早说啊,害我丢人,55555不活了看完还是不会用,程序如下,帮忙指点
syms a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5 xu=(105*(...
(pi/(30*cos(x*pi/180)*112.56)*(b1*cos(pi*(x-33.56)/112.56)+2*b2*cos(2*pi*(x-33.56)/112.56)+3*b3*cos(3*pi*(x-33.56)/112.56)+...
4*b4*cos(4*pi*(x-33.56)/112.56)+5*b5*cos(5*pi*(x-33.56)/112.56)))^2+...
(0.7809*pi/(18.741*sin(x*pi/180)*112.56)*(c1*cos(pi*(x-33.56)/112.56)+2*c2*cos(2*pi*(x-33.56)/112.56)+3*c3*cos(3*pi*(x-33.56)/112.56)+...
4*c4*cos(4*pi*(x-33.56)/112.56)+5*c5*cos(5*pi*(x-33.56)/112.56))-...
0.6247*pi/(18.471*sin(x*pi/180)*112.56)*(a1*cos(pi*(x-33.56)/112.56)+2*a2*cos(2*pi*(x-33.56)/112.56)+3*a3*cos(3*pi*(x-33.56)/112.56)+...
4*a4*cos(4*pi*(x-33.56)/112.56)+5*a5*cos(5*pi*(x-33.56)/112.56)))^2+...
(0.7809*pi/(23.427*sin(x*pi/180)*112.56)*(a1*cos(pi*(x-33.56)/112.56)+2*a2*cos(2*pi*(x-33.56)/112.56)+3*a3*cos(3*pi*(x-33.56)/112.56)+...
4*a4*cos(4*pi*(x-33.56)/112.56)+5*a5*cos(5*pi*(x-33.56)/112.56))+...
0.6247*pi/(23.427*sin(x*pi/180)*112.56)*(c1*cos(pi*(x-33.56)/112.56)+2*c2*cos(2*pi*(x-33.56)/112.56)+3*c3*cos(3*pi*(x-33.56)/112.56)+...
4*c4*cos(4*pi*(x-33.56)/112.56)+5*c5*cos(5*pi*(x-33.56)/112.56)))^2)+...
84*(...
(pi/(18.471*sin(x*pi/180)*112.56)*(b1*cos(pi*(x-33.56)/112.56)+2*b2*cos(2*pi*(x-33.56)/112.56)+3*b3*cos(3*pi*(x-33.56)/112.56)+...
4*b4*cos(4*pi*(x-33.56)/112.56)+5*b5*cos(5*pi*(x-33.56)/112.56))+...
0.7809*pi/(30*cos(x*pi/180)*112.56)*(c1*cos(pi*(x-33.56)/112.56)+2*c2*cos(2*pi*(x-33.56)/112.56)+3*c3*cos(3*pi*(x-33.56)/112.56)+...
4*c4*cos(4*pi*(x-33.56)/112.56)+5*c5*cos(5*pi*(x-33.56)/112.56))-...
0.6247*pi/(30*cos(x*pi/180)*112.56)*(a1*cos(pi*(x-33.56)/112.56)+2*a2*cos(2*pi*(x-33.56)/112.56)+3*a3*cos(3*pi*(x-33.56)/112.56)+...
4*a4*cos(4*pi*(x-33.56)/112.56)+5*a5*cos(5*pi*(x-33.56)/112.56)))^2+...
(-0.7809*pi/(23.427*sin(x*pi/180)*112.56)*(c1*cos(pi*(x-33.56)/112.56)+2*c2*cos(2*pi*(x-33.56)/112.56)+3*c3*cos(3*pi*(x-33.56)/112.56)+...
4*c4*cos(4*pi*(x-33.56)/112.56)+5*c5*cos(5*pi*(x-33.56)/112.56))+...
0.6247*pi/(23.427*sin(x*pi/180)*112.56)*(a1*cos(pi*(x-33.56)/112.56)+2*a2*cos(2*pi*(x-33.56)/112.56)+3*a3*cos(3*pi*(x-33.56)/112.56)+...
4*a4*cos(4*pi*(x-33.56)/112.56)+5*a5*cos(5*pi*(x-33.56)/112.56))+...
0.7809*pi/(18.741*sin(x*pi/180)*112.56)*(a1*cos(pi*(x-33.56)/112.56)+2*a2*cos(2*pi*(x-33.56)/112.56)+3*a3*cos(3*pi*(x-33.56)/112.56)+...
4*a4*cos(4*pi*(x-33.56)/112.56)+5*a5*cos(5*pi*(x-33.56)/112.56))+...
0.6247*pi/(18.741*sin(x*pi/180)*112.56)*(c1*cos(pi*(x-33.56)/112.56)+2*c2*cos(2*pi*(x-33.56)/112.56)+3*c3*cos(3*pi*(x-33.56)/112.56)+...
4*c4*cos(4*pi*(x-33.56)/112.56)+5*c5*cos(5*pi*(x-33.56)/112.56)))^2+...
(0.7809*pi/(30*cos(x*pi/180)*112.56)*(a1*cos(pi*(x-33.56)/112.56)+2*a2*cos(2*pi*(x-33.56)/112.56)+3*a3*cos(3*pi*(x-33.56)/112.56)+...
4*a4*cos(4*pi*(x-33.56)/112.56)+5*a5*cos(5*pi*(x-33.56)/112.56))+...
0.6247*pi/(30*cos(x*pi/180)*112.56)*(c1*cos(pi*(x-33.56)/112.56)+2*c2*cos(2*pi*(x-33.56)/112.56)+3*c3*cos(3*pi*(x-33.56)/112.56)+...
4*c4*cos(4*pi*(x-33.56)/112.56)+5*c5*cos(5*pi*(x-33.56)/112.56))-...
pi/(23.471*sin(x*pi/180)*112.56)*(b1*cos(pi*(x-33.56)/112.56)+2*b2*cos(2*pi*(x-33.56)/112.56)+3*b3*cos(3*pi*(x-33.56)/112.56)+...
4*b4*cos(4*pi*(x-33.56)/112.56)+5*b5*cos(5*pi*(x-33.56)/112.56)))^2)*...
sqrt((30*cos(x*pi/180))^2+(18.741*sin(x*pi/180))^2+(23.427*sin(x*pi/180))^2));
u0=expand(u);u1=collect(u0)
回复:(cdwxg)回复:(bainhome)晕...看看more的用...
<DIV class=quote><B>以下是引用<I>cdwxg</I>在2006-6-7 14:48:58的发言:</B><BR>........我......你怎么不早说啊,害我丢人,55555不活了</DIV><P>呵呵<BR> 没什么的</P> L主的程序还真是庞然大物啊! cang ~~ 下午服务器登不上,所以耽误了...
首先,一个个人建议:
可以先贴程序问,这样我就不用乱猜而直接给答案了。
关于竖向显示不完全的问题是存在的,因为默认的more值为“off”所以才给出了前面的程序,而横向显示的不完全我认为楼主的依据可能不足,如下是你程序显示的公式的全貌:
上面为通过simple化简,下面是你的方式,可以看出,公式应该是全部显示的,无论哪种化简方式。 <P> 不好意思,我试了一下,就是不能按意思来输出!</P>
页:
[1]