代码搜索:plot
找到约 10,000 项符合「plot」的源代码
代码结果 10,000
www.eeworm.com/read/298099/7974439
m ex0408.m
%用不同线段类型、颜色和数据点形画曲线
x=0:0.1:2*pi;
plot(x,sin(x),'r-.') %用红色点划线画出曲线
hold on
plot(x,cos(x),'b:o') %用蓝色圆圈画出曲线,用点线连接
www.eeworm.com/read/197679/7978953
m untitled5.m
clear all;clc;
M=2;
N=3000;
U=0.999;
a1=1.558;
a2=-.81;
V=randn(1,N);
x(1)=V(1);
x(2)=a1*x(1)+V(2);
v(2)=-2*x(2)*x(1);
u(2)=U*x(1)^2+x(2)^2+x(1)^2;
ef=zeros(N,M+1);
eb=zeros(N,M+1);
u=zer
www.eeworm.com/read/197649/7983270
m new2.m
% ----------------------------------------
% ----- Program to plot the signal example
% ----------------------------------------
t=0:1023;t=t';
w=2*pi/32;
dw=.1*w;
x=exp(i*w*t);
x1=1+.7*ex
www.eeworm.com/read/197649/7983305
m caldspeco.m
% --- CALDSPECO calculates damping spectrums ------- %
% from IMF for the specified files and plot them.
%
% Non MATLAB Library routines used are:
% NSPABD and FDAMP.
% Required data files: 'cr
www.eeworm.com/read/197646/7983403
m exp2_4_.m
close all
clc
clear
%定义时间范围
t=[0:pi/20:9*pi];
hold on %允许在同一坐标系下绘制不同的图形
plot(t,sin(t),'r:*')
plot(t,cos(t))
plot(t,-cos(t),'k')
grid on %在所画出的图形坐标中添加栅格,注意用在plot之后
hold off %覆盖旧图
www.eeworm.com/read/197646/7983417
m exp2_4.m
close all
clc
clear
%定义时间范围
t=[0:pi/20:9*pi];
figure(1) %选择图像
plot(t,sin(t),'r:*')
grid on %在所画出的图形坐标中添加栅格,注意用在plot之后
grid off %删除栅格
figure(2)
plot(t,cos(t))
grid on
grid off
www.eeworm.com/read/297942/7984858
m fig11_20.m
clear all
eps = 0.0000001;
npts = 5000;
del = 1./ 5000.;
t = 0. : del : 1.;
% generate input sequence
inp = 1.+ t.^3 + .5 .*t.^2 + cos(2.*pi*5 .* t) ;
% read the intial estimate for the state v
www.eeworm.com/read/297942/7984862
m fig11_27.m
clear all
npts = 2000;
del = 1/2000;
t = 0:del:1;
inp = (1+.2 .* t + .1 .*t.^2);% + cos(2. * pi * 2.5 .* t);
X0 = [1,.1,.01]';
% it is assumed that the measurmeny vector H=[1,0,0]
% this is the
www.eeworm.com/read/297942/7984865
m fig11_21.m
clear all
eps = 0.0000001;
npts = 5000;
del = 1./ 5000.;
t = 0. : del : 1.;
% generate input sequence
inp = 1.+ t.^3 + .5 .*t.^2 + cos(2.*pi*5 .* t) ;
% read the intial estimate for the state v
www.eeworm.com/read/297942/7984866
m fig11_28.m
clear all
npts = 2000;
del = 1/2000;
t = 0:del:1;
inp = (1+.2 .* t + .1 .*t.^2) + cos(2. * pi * 2.5 .* t);
X0 = [1,.1,.01]';
% it is assumed that the measurmeny vector H=[1,0,0]
% this is the u