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/11/01 07:05:05
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不太会用欢迎继续问