Question: function DFT_park() close all; clear all; N = 1000; jj = sqrt(-1); t_total = 5; % dt = t_total/(N-1); t = 0:dt:t_total; % dt fnc

function DFT_park() close all; clear all; N = 1000; jj = sqrt(-1); t_total = 5; % dt = t_total/(N-1); t = 0:dt:t_total; % dt fnc = cos(2*pi*t) + 0.5*cos(2*pi*4*t); figure subplot(2,1,1) plot(t,fnc); title('Time Domain - Input Signal'); xlabel('Time(sec)'); ylabel('Function value') spec = fft(fnc); % DFT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!