matlab定义一个函数时为什么一直报错
x=0:0.2:4*piy1=sin(x+1);y2=cos(x)+1;plot(x,y1,x,y2,'g',x,zeros(size(x)),'k:')/>
函数或变量 'clfreset' 无法识别。
出错 Untitled (line 2)clfreset
怎么解决啊?真的一直报错,百度也看不懂
加个空格应该就可以了
clf reset