Hi all,
Can someone please tell me how I can interpolate this graph on Matlab:
T = 1/200; % T is the sampling period in seconds. Since we will sample @ 200Hz, therefore T=1/f
nmin = ceil(tmin / T);
nmax = floor(tmax / T);
n = nmin:nmax; % n is the sampling number
% plot 10sin(660*pi*t) samples
wave_samples = 10*sin(660*pi*n*T);
plot(n*T,wave_samples)
hold on % do not overwrite on graph, just add add on it
Thanks in advance.
Can someone please tell me how I can interpolate this graph on Matlab:
T = 1/200; % T is the sampling period in seconds. Since we will sample @ 200Hz, therefore T=1/f
nmin = ceil(tmin / T);
nmax = floor(tmax / T);
n = nmin:nmax; % n is the sampling number
% plot 10sin(660*pi*t) samples
wave_samples = 10*sin(660*pi*n*T);
plot(n*T,wave_samples)
hold on % do not overwrite on graph, just add add on it
Thanks in advance.