代码搜索:plot
找到约 10,000 项符合「plot」的源代码
代码结果 10,000
www.eeworm.com/read/296167/8119099
m mallat.m
%%%%%%%mallat algorithm%%%%%
clc;
clear;tic;
%%%%original signal%%%%
f=100;%%frequence
ts=1/800;%%抽样间隔
N=1:100;%%点数
s=sin(2*ts*pi*f.*N);%%源信号
figure(1)
plot(s);%%%源信号s
title('原信号');
grid
www.eeworm.com/read/195947/8121462
m eyed_ffsk.m
function eyed_fsk(iout,qout)
close all
figure
subplot(2,1,1)
hold on
L=length(iout);
for i=8:(L-64)/32;
m1=(i-1)*32+1;
m2=(i+1)*32+1;
plot(iout(m1:m2),'r-')
end
subplot(2,1,2)
hol
www.eeworm.com/read/195885/8124720
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/195877/8125084
m ga_wnn_test.m
%%%%%%%%%%%%%%%%%%%5
clc
clear
tic, %开始计时
% 首先进行遗传算法
[P,T,R,S1,S2,S,Q]=nninit_test;
aa=ones(S,1)*[-1 1];
popu=30;
initPpp=initializega(popu,aa,'gabpEval_test');
gen=80; % 遗传代数
% 遗传计算
[x en
www.eeworm.com/read/195643/8136810
m plotcorana.m
function [z, a] = coranaEval(per)
i=0;
a=-0.9:per:0.9;
sz=size(a,2);
z=zeros(sz,sz);
for x=a
i=i+1; j=0;
for y=a
j=j+1;
z(i,j)=coranaFeval([x y]);
end
end
%Done!
%First let's look at it
www.eeworm.com/read/195643/8136826
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/395993/8137292
m magnus4.m
function Magnus4(h,N)
%%%%%%%%%%%%%%%%%%%%求解延迟微分方程的四阶Magnus方法程序
%h=0.01;N=200;
%h=0.1;N=80;
c1=(1/2-sqrt(3)/6)*h;
c2=(1/2+sqrt(3)/6)*h;
t0=0;
Y(:,1)=[0 0 0 1 0 0 2 1]'; %%%%%数值解初始向量值
for n=1
www.eeworm.com/read/195601/8139569
asv gongpaodianfenxi.asv
%function [ output_args ] = gongpaodianfenxi( input_args )
detat=4.0e-7;speed=1800;pianyi=0.005;lth=1024;
k1=1:lth;
t=k1*detat;
%C25的强度,波速一般是3800M/S——4170M/S
%C30的强度,波速一般是4200M/S以上
%load alldata.mat
www.eeworm.com/read/195601/8139607
m gongpaodianfenxi.m
%function [ output_args ] = gongpaodianfenxi( input_args )
detat=4.0e-7;speed=1800;pianyi=0.005;lth=1024;
k1=1:lth;
t=k1*detat;
%C25的强度,波速一般是3800M/S——4170M/S
%C30的强度,波速一般是4200M/S以上
%load alldata.mat