S
S
solid_soft2021-04-22 10:27:01
Signal processing
solid_soft, 2021-04-22 10:27:01

How to sample a signal?

I need to sample this signal on the interval from 0 to 4pi. How to do it?

Fd=300; % Частота дискретизации (Гц)
Ts=1/Fd;

t=0:Ts:1;

Signal=2*sin(2*pi*10*t)+sin(2*pi*30*t);

% Построение графиков

subplot(2,1,1);
plot(t, Signal);
title('Сигнал');
xlabel('Время (с)');
ylabel('Амплитуда');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Indemsys, 2021-04-23
@Indemsys

N=1000;
t=0:Ts/N:Ts*2;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question