[求助]解超越方程
			 
			 
			
		
		
		
			
			本人要画一个曲线,程序如下:(p为19维行向量,q为19维列向量) 
p=[0.19 
0.78 
0.96 
1.31 
2.78 
3.16 
4.15 
4.67 
4.85 
6.5 
7.35 
8.01 
8.27 
12.0 
13.95 
16.0 
21.21 
27.11 
34.95]'; 
q=[-1.660731207 
-0.248461359 
-0.040821995 
0.270027137 
1.022450928 
1.150572028 
1.423108334 
1.541159072 
1.578978705 
1.871802177 
1.994700313 
2.080690761 
2.112634509 
2.48490665 
2.635479508 
2.772588722 
3.054472769 
3.299902664 
3.553918469]; 
fplot('[(p.^x)*q/sum(p.^x)-1/x-sum(q)/19,0]',[0.9,1]) 
 
运行后显示 
??? Error using ==> inline.feval 
Not enough inputs to inline function. 
 
Error in ==> fplot at 102 
x = xmin; y = feval(fun,x,args{4:end}); 
 
请高人指教~Thanks!
		 
		
		
		
		
		
		
		
		
			
				  
				
					
						此帖于 2010-05-09 23:32 被 霹雳熊猫 编辑。
					
					
						原因: 修改标题
					
				
			
		
		
	 |