代码搜索:Plot
找到约 10,000 项符合「Plot」的源代码
代码结果 10,000
www.eeworm.com/read/466484/1510675
m test_plot.m
function test_plot
t = 0:pi/50:10*pi;
plot3(sin(t),cos(t),t)
axis square; grid on
www.eeworm.com/read/466484/1510816
m my_plot.m
function my_plot(x,y)
% newplot返回当前坐标轴的句柄
cax = newplot;
LSO = ['- ';'--';': ';'-.'];
set(cax,'FontName','Times','FontAngle','italic')
set(get(cax,'Parent'),'MenuBar','none')
line_handles = lin
www.eeworm.com/read/466484/1510947
m plot_snr.m
clear;
%用来仿真QAM的误bit率
snr=1:1:11;
%先来计算理论误bit率
error_theory=(1-(1-(2*(1-1/sqrt(16))*1/2*erfc(1/sqrt(2)*sqrt(3*4*10.^(snr/10)/(16-1))))).^2)/4;
%用理论的误bit率来决定需要仿真的点数
N=floor(1./error_theory)*100+1
www.eeworm.com/read/466484/1510950
m plot_astrology.m
function plot_astrology(a,b)
%画出星座图
figure(1)
subplot(1,1,1)
plot(a,b,'*');
axis([-5 5 -5 5]);
line([-5,5],[0,0],'LineWidth',3,'Color','red');
line([0,0],[-5,5],'LineWidth',3,'Color','red');
t
www.eeworm.com/read/461848/1549561
m stem_plot.m
x = [ 1 2 3 4 5 6];
y = [ 2 6 8 7 8 5];
stem(x,y);
title('\bfExample of a Stem Plot');
xlabel('\bf\itx');
ylabel('\bf\ity');
axis([0 7 0 10]);
www.eeworm.com/read/461848/1549562
m bar_plot.m
x = [ 1 2 3 4 5 6];
y = [ 2 6 8 7 8 5];
bar(x,y);
title('\bfExample of a Bar Plot');
xlabel('\bf\itx');
ylabel('\bf\ity');
axis([0 7 0 10]);
www.eeworm.com/read/461848/1549566
m compass_plot.m
x = [ 2 -2 1 3 -1];
y = [ 2 2 -2 1 -3];
compass(x,y);
title('\bfExample of a Compass Plot');
grid on
www.eeworm.com/read/461848/1549567
m stair_plot.m
x = [ 1 2 3 4 5 6];
y = [ 2 6 8 7 8 5];
stairs(x,y);
title('\bfExample of a Stair Plot');
xlabel('\bf\itx');
ylabel('\bf\ity');
axis([0 7 0 10]);
www.eeworm.com/read/461848/1549568
m test_plot.m
t = 0:0.1:10;
x = exp(-0.2*t) .* cos(2*t);
y = exp(-0.2*t) .* sin(2*t);
plot(x,y,'LineWidth',2);
title('\bfTwo-Dimensional Line Plot');
xlabel('\bfx');
ylabel('\bfy');
axis square;
grid on;
www.eeworm.com/read/461848/1549569
m barh_plot.m
x = [ 1 2 3 4 5 6];
y = [ 2 6 8 7 8 5];
barh(x,y);
title('\bfExample of a Horizontal Bar Plot');
xlabel('\bf\ity');
ylabel('\bf\itx');
axis([0 10 0 7]);