matlab set找错谁能告诉我下面的代码为什么最后一句出错h1=figure;x=[0 1 1 0 0];y=[0 0 1 1 0];fill(x,y,'y')axis([-1 2 -1 2])h2=figure;theta=linspace(0,2*pi);rho=sin(2*theta).*cos(2*theta);polar(theta,rho,'r')set(h2,'linewidth',3) 错
来源:学生作业学帮网 编辑:学帮网 时间:2024/06/05 04:44:08
matlab set找错
谁能告诉我下面的代码为什么最后一句出错
h1=figure;
x=[0 1 1 0 0];
y=[0 0 1 1 0];
fill(x,y,'y')
axis([-1 2 -1 2])
h2=figure;
theta=linspace(0,2*pi);
rho=sin(2*theta).*cos(2*theta);
polar(theta,rho,'r')
set(h2,'linewidth',3)
错误:
There is no 'linewidth' property in the 'figure' class.
Error in ==> exp at 102
set(h2,'linewidth',3)
clear;clc
x=[0 1 1 0 0];
y=[0 0 1 1 0];
h1=fill(x,y,'y')
axis([-1 2 -1 2])
figure
theta=linspace(0,2*pi);
rho=sin(2*theta).*cos(2*theta);
h2=polar(theta,rho,'r')
set(h2,'linewidth',3)
matlab set找错谁能告诉我下面的代码为什么最后一句出错h1=figure;x=[0 1 1 0 0];y=[0 0 1 1 0];fill(x,y,'y')axis([-1 2 -1 2])h2=figure;theta=linspace(0,2*pi);rho=sin(2*theta).*cos(2*theta);polar(theta,rho,'r')set(h2,'linewidth',3) 错
哪位大神能告诉我怎样用matlab实现下面的公式
3.1415``````````````````````````谁能告诉我下面的?
matlab怎么控制有效数字,看下面的结果,哪个大神能告诉我怎么让零后面的数字出来
matlab 表达式的意义谁能告诉我下面的matlab表达式是要做什么:x=rand(20,7);xm=(1:2:size(x,1),1:2:size(x,2));%这一条语句我不懂
谁能告诉我下面这个电路图的元件的属性?
谁能告诉我下面的公式该如何算
谁能告诉我下面这种烃的系统命名?
cad...谁能告诉我下面的图怎么画~
谁能告诉我下面这个传感器时序图的含义
谁能告诉我下面的字叫什么.意思是什么?.
谁能告诉我下面的动物是什么种类
谁能告诉我歌名,下面是地址
急求matlab plp,谁能告诉我,谢谢matlab6.5,装的时候没有plp真是急死了,好多实验都要用matlab,哪位好心的大哥帮帮忙,谢谢.
在matlab中怎么表示一个数范围,比如p1的范围是32.09到39.24,谁能告诉我在matlab中怎么表示,
谁能告诉我matlab程序里的这句mesh(X,Y,Z(:,:,Z不是XY的函数吗,
the powder toy蒸汽锅炉谁能告诉我用哪些元素能做出下面的蒸汽锅炉
matlab set(gca,'xscale',