Subject Engineering Electrical Engineering


See Question.pdf

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

%clearing the screen, closing all open windows and clearing memory
close all;
%defining s as the transfer function element
%making a logarithmical frequency vector with 500 points between 10^-2 and
freq = logspace(-2,2,500);
%defining the system a
Ga = zpk(1/(s*(s+2)*(s+4)));
%getting numerator and denumerator from the transfer function
[numa,dena] = tfdata(Ga,'v');
%getting a frequency response
ha = freqs(numa,dena,freq);
%getting magnitude in decibels
magadb = db(abs(ha));...

This is only a preview of the solution. Please use the purchase button to see the entire solution

Related Homework Solutions

Get help from a qualified tutor
Live Chats