資源簡介
該程序用matlab語言根據計算繪制了信號的包絡。
代碼片段和文件信息
function?[envmin]=baoluo(x6t)
x66?=?hilbert(x6);
xx=abs(x66+j*x6);
%?figure(1)
%?hold?on
%?plot(tx6);
%?plot(txx‘r‘)
%?hold?off
%?包絡算法,未考慮邊界條件
d?=?diff(x6);
n?=?length(d);
d1?=?d(1:n-1);
d2?=?d(2:n)?;
indmin?=?find(d1.
- 上一篇:PID+SMITH預估器溫度控制仿真圖
- 下一篇:光耦隔離+加法電路采樣
評論
共有 條評論