フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Can anyone please provide me with the code of "compressive sampling for reconstruction of my randomly sampled signal"

1 回表示 (過去 30 日間)
Kel
Kel 2014 年 4 月 7 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
fo=4 fs=100 ts=1/fs t=0:ts:1-ts n=length(t) y=2*sin(2*pi*fo*t) plot(t,y) numberOfSamplesToTake = 20; a = randperm(numel(y)); sampleIndexes = a(1:numberOfSamplesToTake); % Plot the samples; ts = t(sampleIndexes) ys = y(sampleIndexes) plot(ts, ys, 'r*') YfreqDomain=fft(ys) stem(abs(YfreqDomain))

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by