Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!