Matlab 求助 Error using vertcat CAT arguments dimensions are n
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/10/06 23:53:52
Matlab 求助 Error using vertcat CAT arguments dimensions are not consistent.
to=[1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2007 2008];
tl=[1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2007 2008 2010
2020];
xo=[11.4333 11.5823 11.7171 ll.85l7 ll.985Ol 2.1l2l 12.2389 l2.3626 l2.476l 12.578612.674312.762712.845313.212913.2802];
xl1=R./(I+(R./11.4333-l)*exp(-0.01439*(t0-1990)));
xl=R./(1+(R./11.4333-l)*exp(-0.01439*(tl-1990)));
xl1-x0=(xl1-x0)./xo
max-x1_x0=max(abs(xll_xo))
Plot(t0,x0,'bo',tl,xl,'r:’,t0,xll-x0,'g.')
legend('nitial data',' Predict edvalue',' Relative error’,O)
xlabel('Time year t’)
yIabel(' PoPulation x and relative error')
title('PoPulation forecast of our country’)
Error using vertcat
CAT arguments dimensions are not consistent.
to=[1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2007 2008];
tl=[1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2007 2008 2010
2020];
xo=[11.4333 11.5823 11.7171 ll.85l7 ll.985Ol 2.1l2l 12.2389 l2.3626 l2.476l 12.578612.674312.762712.845313.212913.2802];
xl1=R./(I+(R./11.4333-l)*exp(-0.01439*(t0-1990)));
xl=R./(1+(R./11.4333-l)*exp(-0.01439*(tl-1990)));
xl1-x0=(xl1-x0)./xo
max-x1_x0=max(abs(xll_xo))
Plot(t0,x0,'bo',tl,xl,'r:’,t0,xll-x0,'g.')
legend('nitial data',' Predict edvalue',' Relative error’,O)
xlabel('Time year t’)
yIabel(' PoPulation x and relative error')
title('PoPulation forecast of our country’)
Error using vertcat
CAT arguments dimensions are not consistent.
你的程序很很乱,你提问的时候程序是手打的?还有R是什么?把你的程序粘贴过来看看
Matlab 求助 Error using vertcat CAT arguments dimensions are n
matlab 提示Error using vertcat CAT arguments dimensions are no
matlab里出现:Error using ==> vertcat CAT arguments dimensions a
matlab运行时出现N= Error using==>leNot enough input arguments.Err
Error using input Not enough input arguments matlab
matlab--?Error using ==> mtimes Inner matrix dimensions must
matlab Error using ==> mrdivide Matrix dimensions must agree
matlab 错误Error using zy (line 4) Not enough input arguments.
matlab出问题 Error using ==> mtimes Inner matrix dimensions mus
matlab:Error using ==> mtimes Inner matrix dimensions must a
matlab 显示?Error using ==> mtimes Inner matrix dimensions mus
matlab 出错Error using ==> mrdivide Matrix dimensions must agr