代码搜索:plot
找到约 10,000 项符合「plot」的源代码
代码结果 10,000
www.eeworm.com/read/490601/6449542
m chap3_10.m
%PD Type Fuzzy Controller Design
clear all;
close all;
ts=0.001;
sys=tf(133,[1,25,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
e_1=0;
u_1=0;u_2=0;
y_1=0;y_2=0;
for k=1:1:10
www.eeworm.com/read/490722/6452027
m ex219.m
%********************************************************
%程序:EX219.M
%功能:叠加绘图函数hold使用实例
%********************************************************
x=-5:5; %定义x坐标轴范围
y1=randn
www.eeworm.com/read/490407/6455882
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/490407/6455890
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/490082/6458162
m sinecomp.m
function sinecomp(n)
%sinecomp(n) where n is the number of terms used in 'mysine'
%this m-file tests the difference between the function [x]=mysine(theta,n)
%and the built-in MATLAB function [x]=si
www.eeworm.com/read/490168/6459953
m firfilterdesign.m
wp=0.2;ws=0.4;Rp=1;As=20; % 定义滤波器参数(可修改)
[n,wc]=buttord(wp,ws,Rp,As); % 计算滤波器阶次和3dB截止频率
[b,a]=butter(n,wc); % 设计巴特沃斯滤波器
w=[0:pi/200:pi];
www.eeworm.com/read/489816/6461830
m program_13_04.m
% 产生信号,设置阈值
t = linspace(0,1,100);
y = 0.8*sin(2*pi*t);
subplot(1,3,1),plot(y);
title('原始信号'),grid on;
thr = 0.4;
% 进行硬阈值处理
ythard = wthresh(y,'h',thr);
subplot(1,3,2),plot(ythard );
title(
www.eeworm.com/read/489834/6462419
m one_dimensional1.m
%Fuzzy approaching
clear all;
close all;
L1=-3;L2=3;
L=L2-L1;
h=0.2;
N=L/h+1;
T=0.01;
x=L1:T:L2;
for i=1:N
e(i)=L1+L/(N-1)*(i-1);
end
c=0;d=0;
for j=1:N
if j==1
u=trimf
www.eeworm.com/read/490001/6465348
m 3-4-5-2.m
%绘制指数函数曲线
p=-1:0.05:1;
t=exp(-p);
plot(p,t);
grid;
title('exponential function');
xlabel('x');
ylabel('y');
figure;
%建立并训练网络
for i=1:5
net=newgrnn(p,t,i/10);
y(i,:)=sim(net,p);
en
www.eeworm.com/read/489609/6466705
rd scoreplot.rd
%% $Id: scoreplot.Rd 101 2006-12-14 13:05:14Z bhm $
\encoding{latin1}
\name{scoreplot}
\alias{scoreplot}
\alias{scoreplot.default}
\alias{plot.scores}
\alias{loadingplot}
\alias{loadingplot.default}
\