フィルターのクリア

How to make manual upsampling?

1 回表示 (過去 30 日間)
Carlos Martínez
Carlos Martínez 2016 年 8 月 18 日
I want to add a zeros vector each "w" elements of a given vector.
fs=20;
N=50;
T=1/fs;
n=0:1:N-1;
x = exp(-0.5*n*T).*sin(2*pi*n*T);
A=zeros(1,M);
for i = length(x)
y()=A %Here is where I don't know that to do
end
stem(y)
So As an example if M=2, A=[0 0 0] and if x=[1 2 3] with w=1.
y=[1 0 0 0 2 0 0 0 3 0 0 0];

回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by