代码搜索:波形合成
找到约 3,528 项符合「波形合成」的源代码
代码结果 3,528
www.eeworm.com/read/257637/11918090
txt gibbs现象代码.txt
clear all
x1=linspace(-pi,pi,5000);
for i=1:1;
subplot(1,1,i);
y1=1/2; %画波形!
if i==0;
y1=y1+2/pi*cos(x1);
else for j=1:2:(30*i);
y1=y
www.eeworm.com/read/153954/11998281
h test.h
#ifndef __SLC_TEST_H__
#define __SLC_TEST_H__
#include "bastype.h"
#define DISP_CONTROL_REGISTER 0x600000 //显示控制寄存器
#define WAVE1_Y_DEFINE 0x600002 //波形1/2窗口垂直定位寄存器
#define WAV
www.eeworm.com/read/338071/12325839
asv draw2.asv
res_temp=NorMK2_DH(500:1500);
res_dec=resample(res_temp,1,3);
res_
fugure;
subplot(311);
plot(res_temp);grid on;
axis([0,1000,-1,1]);
title('一段信号波形');
subplot(312);
plot(res_dec);grid on;
www.eeworm.com/read/225679/14526072
m f5_12.m
%生成两分量信号
sig=atoms(128,[32,0.15,20,1;96,0.32,20,1]);
%时域波形
figure(2)
plot(real(sig),'LineWidth',2);
xlabel('时间 t');
ylabel('幅值 A');
%计算Margenau-Hill分布
[tfr,t,f]=tfrmh(sig);
%显示
%%等高线图
figur
www.eeworm.com/read/225679/14526139
m f6_12.m
%产生两分量信号
N=64;
sig=sigmerge(fmlin(N,0,0.4),fmlin(N,0.3,0.5),1);
%时域波形
figure(1);
subplot(2,1,1);
plot(1:N,real(sig),'LineWidth',2);
xlabel('时间 t');
ylabel('幅值 A');
%计算Wigner-Ville分布
[tfr
www.eeworm.com/read/225679/14526140
m f6_11.m
%产生线性调频信号
%信噪比为1dB
N=64;
sig=sigmerge(fmlin(N,0,0.3),noisecg(N),1);
%时域波形
figure(1);
subplot(2,1,1);
plot(1:N,real(sig),'LineWidth',2);
xlabel('时间 t');
ylabel('幅值 A');
%计算Wigner-Ville分布
www.eeworm.com/read/225679/14526151
m f8_4.m
%实验信号
N=1024;
t=1:N;
fid=fopen('normal.dat','r');%正常信号
sig=fread(fid,N,'int16');
fclose(fid);
%归一化
sig=(sig-mean(sig))/std(sig,1);
%采样频率
fs=10000;
%时域波形
figure(1)
plot(t/fs,sig);
xlabel
www.eeworm.com/read/225679/14526260
m f10_3.m
%生成正弦信号
N=1000;
t=1:N;
x=sin(0.03*t);
%加噪声
load noissin;
ns=noissin;
%显示波形
subplot(3,1,1);
plot(t,x);
xlabel('样本序号 n');
ylabel('(原始信号)幅值 A');
subplot(3,1,2);
plot(ns);
xlabel('样本序号 n');
www.eeworm.com/read/207233/15279054
m f10_3.m
%生成正弦信号
N=1000;
t=1:N;
x=sin(0.03*t);
%加噪声
load noissin;
ns=noissin;
%显示波形
subplot(3,1,1);
plot(t,x);
xlabel('样本序号 n');
ylabel('(原始信号)幅值 A');
subplot(3,1,2);
plot(ns);
xlabel('样本序号 n');
www.eeworm.com/read/207232/15279065
m f8_4.m
%实验信号
N=1024;
t=1:N;
fid=fopen('normal.dat','r');%正常信号
sig=fread(fid,N,'int16');
fclose(fid);
%归一化
sig=(sig-mean(sig))/std(sig,1);
%采样频率
fs=10000;
%时域波形
figure(1)
plot(t/fs,sig);
xlabel