matlab2009中运行 :x=0:0.01:2*pi; y=sin(x); y2=cos(x); z=[y;y2]; plot(x,z);出现?Undefined function or method 'setdiff' for input arguments of type 'double'.Error in ==> clo at 49kids_to_delete = setdiff(findall(obj,'serializable','on','-depth',

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/02 20:08:51
matlab2009中运行 :x=0:0.01:2*pi; y=sin(x); y2=cos(x); z=[y;y2]; plot(x,z);出现?Undefined function or method 'setdiff' for input arguments of type 'double'.Error in ==> clo at 49kids_to_delete = setdiff(findall(obj,'serializable','on','-depth',

matlab2009中运行 :x=0:0.01:2*pi; y=sin(x); y2=cos(x); z=[y;y2]; plot(x,z);出现?Undefined function or method 'setdiff' for input arguments of type 'double'.Error in ==> clo at 49kids_to_delete = setdiff(findall(obj,'serializable','on','-depth',
matlab2009中运行 :x=0:0.01:2*pi; y=sin(x); y2=cos(x); z=[y;y2]; plot(x,z);
出现?Undefined function or method 'setdiff' for input arguments of type 'double'.
Error in ==> clo at 49
kids_to_delete = setdiff(findall(obj,'serializable','on','-depth',1),obj);
Error in ==> cla at 29
clo(ax,extra{:});
Error in ==> newplot>ObserveAxesNextPlot at 134
cla(ax,'reset',hsave);
Error in ==> newplot at 83
ax = ObserveAxesNextPlot(ax,hsave);
小弟初学,请讲浅显

matlab2009中运行 :x=0:0.01:2*pi; y=sin(x); y2=cos(x); z=[y;y2]; plot(x,z);出现?Undefined function or method 'setdiff' for input arguments of type 'double'.Error in ==> clo at 49kids_to_delete = setdiff(findall(obj,'serializable','on','-depth',
估计没有清空工作空间其他变量.
是好的,没什么问题,你再试试:
clear all;clc;
x=0:0.01:2*pi;
y=sin(x);
y2=cos(x);
z=[y;y2];
plot(x,z);

matlab2009中运行 :x=0:0.01:2*pi; y=sin(x); y2=cos(x); z=[y;y2]; plot(x,z);出现?Undefined function or method 'setdiff' for input arguments of type 'double'.Error in ==> clo at 49kids_to_delete = setdiff(findall(obj,'serializable','on','-depth', clear; x=0:0.1:pi/3; y=exp(-0.5*x)*sin(x+pi/6); trapz(x,y) 在matlab中运行不了! 0.25*x+0.5*y=-1; y>=-1; min=x+y; 在lingo中运行为什么 答案为什么是x=0 y=0 matlab中求最小值f=@(x)(-exp(x));M=fminbnd(f,0,1);运行出来为什么结果不是-e 而是0.9999呢? 在matlab中运行如下程序:x = 0:1:10; y = x.^2-10*x+15; plot(x,y);为什么x后面有一小点:(x.^2);这一小点有什么意义? MATLAB中函数图形fplotfunction y=example4_1_10(x)y(:,1)=200*sin(x(:))./x(:);y(:,2)=x(:)^2;y(:,3)=0;fplot('example4_1_10',[-20,20])这个程序运行不出来 怎么回事? C语言,while(!=0)s+=++x;如何运行的, Wincc7.0画面中电动机运行要求有风叶转动动作, x=0:pi/100:2*pi y=2*sin(x+2)+4*x+3 q=plot(x,y)的运行结果代表什么运行结果是有曲线,而且有 q=152.0121,q代表什么 Matlab基础操作问题例如:x=0:0.1:10 y=sin(x) plot(x,y) x=-5:0.1:5 y=x.^3+3*x.^2-5 plot(x,y) .许多函数题都列在一个M文档里 运行F5的时候他们全部集体运行了 怎样才能把他们分开 每运行一次F5只出一道题的 matlab 中 运行:[x]=solve('90-atan(0.1*x)-atan(0.2*x)=51) 为什么不行啊? C语言中,运行(x||(y=5),x&&z||(y=1),x+y+z)的结果是什么? 一个C语言求解二元一次方程根,以下是我在VC6.0中写的代码,编译通过,但是运行时就出问题了,例如输入a=2,b=2,c=4时,运行结果就是“方程有两个解,x1=..,x2=...” 方程只有一个解x=..,一看就知道这 MATLAB中while循环问题这是我写的程序,可以运行x=0;y=0;m=1;n=1;p=1;q=1;r=1;s=1;while(m matlab7中 运行错误matlab7中 >> t=0:pi/150:3*pi; >> y1=cos(t)*exp(-t); 为什么一运行就提示 Error using ==> mtimesInner matrix dimensions must agree. matlab中怎样将变量作为函数的输入值定义function f=M(s,t,q)f=@(x,y,z)2*max(0,1-max(max(abs(s-x)+abs(t-y),abs(s-x)+abs(q-z)),abs(q-z)+abs(t-y)));怎样运行M(a,b,c)有结果?运行M(a,b,c)想得到的是一个表达式:2*max(0,1-max(m X=0;Y=(X++)+(--X)和X=0;Y=(--X)+(X++)答案分别是什么?我运行后答案多是-2,重点解释X=0;Y=(X++)+(--X)的情况 matlab 运行下面的程序出现一些错误,请帮忙看看错误在哪里,谢谢.程序syms x n mn=0;m=1377*10^6;x=0.1:0.01:6;f(x)=(x.*19.1*300*300*pi.*(1-(sin(2*pi.*x))/(2*pi.*x))-n)/((3*x-1.25)*360);plot(x,f(x))运行出错? Subscript indices m