This software is developed to provide ease with controller design. For PID control, options are given
to design and analyse the compensated and uncompensated system. You are free to choice among Proportional
PI, PD and PID mode of control. Both frequency and time domain characteristics can be observed. Special
Menus are given to observe time and frequency response plots. For Statefeedback controller similar options
are given. But this is limited to second order system only.
Use
the fast Fourier transform function fft to analyse following signal. Plot the original signal, and the magnitude of its
spectrum linearly and logarithmically. Apply Hamming window to reduce the
leakage.
.
The hamming window can be coded in Matlab as
for n=1:N
hamming(n)=0.54+0.46*cos((2*n-N+1)*PI/N);
end;
where
N is the data length in the FFT.