This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ************* Study the Effect of Windowing on FIlter Response************** % | |
% ************ Author : Arun Prakash A *************************************** % | |
clc; | |
clear all; | |
close all; | |
step = 0.001; | |
%Frequency Domain Spec | |
W=-pi:step:pi; % range of digital frequncy | |
Wc = -pi/2 : step : pi/2; % cutoff freq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Computing FFT for Basic Signals and plot the spectra %% | |
%% Author: A Arun Prakash Mail:[email protected] %% | |
clc | |
close all; | |
%Generae sin signal of 10 Hz | |
Fs=1000; % Sampling Frequency > 2 * fmax , here fmax = 10 | |
t=0:(1/Fs):1; | |
x=sin(2*pi*10*t); |
NewerOlder