代码搜索:plot
找到约 10,000 项符合「plot」的源代码
代码结果 10,000
www.eeworm.com/read/152396/12118127
m orderbasedexample.m
echo on
% This script shows how to use the ga using an order-based representation.
% You should see the demos for
% more information as well. gademo1, gademo2, gademo3
global distMatrix
% Setting the
www.eeworm.com/read/254742/12121043
m program_3_2.m
% Program 3_2
% Generate the filter coefficients
h1 = ones(1,5)/5; h2 = ones(1,14)/14;
% Compute the frequency responses
[H1,w] = freqz(h1, 1, 256);
[H2,w] = freqz(h2, 1, 256);
% Compute and p
www.eeworm.com/read/254742/12121064
m program_13_4.m
% Program 13_4
% Effect of Down-Sampling in the Frequency Domain
% Use fir2 to create a bandlimited input sequence
freq = [0 0.42 0.48 1];
mag = [0 1 0 0];
x = fir2(101, freq, mag);
% Evaluate a
www.eeworm.com/read/254742/12121072
m program_13_3.m
% Program 13_3
% Effect of Up-Sampling in the Frequency Domain
% Use fir2 to create a bandlimited input sequence
freq = [0 0.45 0.5 1];
mag = [0 1 0 0];
x = fir2(99, freq, mag);
% Evaluate and p
www.eeworm.com/read/254742/12121278
m program_4_2.m
% Program 4_2
% Program to Design Butterworth Lowpass Filter
%
% Type in the filter order and passband edge frequency
N = input('Type in filter order = ');
Wn = input('3-dB cutoff angular frequen
www.eeworm.com/read/152291/12123850
m 6-20.m
x=rand(1,100)*100;
y=rand(1,100)*100;
% 定义绘制的散点
s=rand(1,100)*100;
% 定义散点的大小
c=rand(1,100)*255;
% 绘制散点的颜色
subplot(211)
scatter(x,y,s,c);
subplot(212)
L = linspace(0,2.*pi,6);
xv = cos(L
www.eeworm.com/read/152291/12123881
m 6-23.m
for k = 1:16
plot(fft(eye(k+16)))
axis equal
% plot会重置坐标轴,在使用getframe调用axis equal
M(k) = getframe;
end
clf
axes('Position',[0 0 1 1])
movie(M,30)
% 将生成的动画回放30次
h = uicontrol(
www.eeworm.com/read/152291/12123918
m 6-1.m
x=0:0.05:5;
% 长度101的x轴采样点
y=sin(x.^2);
plot(x,y);
y1=y-0.25;
y2=y-0.5;
plot(x,y,x,y1,x,y2)
www.eeworm.com/read/254546/12130953
m plotfigure.m
L1_best=[];
L2_best=[];
plot(L1_best,'g:');
hold on
plot(L2_best,'r');
xlabel('generation');
ylabel('Fitness');
legend('AS(柯闷计=50)','AS(柯闷计=126)');
www.eeworm.com/read/152247/12131021
m exa11041.m
%-----------------------------------------------------------------
% exa110401.m 产生db2~db9正交小波的尺度函数和小波函数
%------------------------------------------------------------------
clear;
iter=8
[phi2,