matlab 错误Error using zy (line 4) Not enough input arguments.function f=zy(p,n,m,t)int n m t;syms a c;if(p>0|p3|2*t*sqrt(1/(n*tan(pi/n)))c/sqrt(a*c)&2*m*sqrt(2/(n*sin(2*pi/n)))==c/sqrt(a*c)|m*t
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 22:28:19
matlab错误Errorusingzy(line4)Notenoughinputarguments.functionf=zy(p,n,m,t)intnmt;symsac;if(p>0|p3|2*t*
matlab 错误Error using zy (line 4) Not enough input arguments.function f=zy(p,n,m,t)int n m t;syms a c;if(p>0|p3|2*t*sqrt(1/(n*tan(pi/n)))c/sqrt(a*c)&2*m*sqrt(2/(n*sin(2*pi/n)))==c/sqrt(a*c)|m*t
matlab 错误Error using zy (line 4) Not enough input arguments.
function f=zy(p,n,m,t)
int n m t;
syms a c;
if(p>0|p3|2*t*sqrt(1/(n*tan(pi/n)))c/sqrt(a*c)&2*m*sqrt(2/(n*sin(2*pi/n)))==c/sqrt(a*c)|m*t
matlab 错误Error using zy (line 4) Not enough input arguments.function f=zy(p,n,m,t)int n m t;syms a c;if(p>0|p3|2*t*sqrt(1/(n*tan(pi/n)))c/sqrt(a*c)&2*m*sqrt(2/(n*sin(2*pi/n)))==c/sqrt(a*c)|m*t
输入参数不够.程序要求输入参数有p,n,m,t,你就给个line 4当然不对.
经验证代码没错 如果是matlab不太会用欢迎继续问