Info

此问题已关闭。 请重新打开它进行编辑或回答。

How can I get an analog signal by inputting irregular samples and using the delta sigma method (1-bit DAC)?

1 次查看(过去 30 天)
I have already used the zero order hold way to rebuild an analog signal, but with irregular samples i don't know use it.
close all; clc; % Zero order holder: %http://www.ece.iastate.edu/~namrata/EE424/l1.pdf % http://control.ucsd.edu/mauricio/courses/mae143a/lectures/8sampling.pdf
M=2.1234567654; % Nb de points par période de la sinusoide : M>2 (condition de Shannon)
% Time domain tStart = 0; tStep = 0.01; tEnd = 200; t = tStart:tStep:tEnd;
% Original signal x = @(t)(sin(2*pi*t/M));
% Sampling period Ts = 5e-2;
% Impulse ZOH zohImpl = ones(1,Ts/tStep);
% Samples nSamples = tEnd/Ts; samples = 0:nSamples;
% Sampled signal xSampled = zeros(1,length(t)); xSampled(1:Ts/tStep:end) = x(samples*Ts);
% Convolution with impulse response xZoh1 = conv(zohImpl,xSampled);
xZoh1 = xZoh1(1:length(t));
% Plot figure(4); hold all; plot(t,x(t)); stem(t,xSampled); plot(t,xZoh1);
And i would like to use Delta sigma method to recreate my signal with irregular samples.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by