Question

H(s) where, Q-5, and 40-2000, rad./sec. a) Use MATLAB to determine magnitude response and phase response of the filter. b) Wh
All i want is the whole MATLAB code for this nothing else
0 0
Add a comment Improve this question Transcribed image text
Answer #1

MATLAB code

clc;

clear all;

syms t l s;

format long

Q=5

w0=2000*pi

a=w0/Q

b=w0*w0

num=[a 0]

den=[1 a b]

H=tf(num,den)

bode(H)

pzmap(H)%pole zero maping

%transfer function in s domain

h=(1257*s)/((s*s)+1257*s+3.9488e07)

%inverse laplace to get impulse responce h(t)

h1=ilaplace(h)

MATLAB results

LIVE EDITOR MEW Run Section Control. %33 Go To BIU M Run and Advance ロゼ」ES Section Run to End Find ▼ Text Refactor ▼ | SECTIOLIVE EDITOR MEW Run Section Run and Advance Run to Normal Control ▼ % GoTo ▼ BIU M Text Find ▼ Refactor ▼ Run Step Stop NAVIGLIVE EDITOR INSERT MEW Normal ▼ Run Section Run and Advance Run to GoTo ▼ control ▼ B I U M Texd .. Run Step Stop Find RefactFIGURE INSERT MEW Legend Remove L... Colorbar Remove Co...Grid Remove Grid X-Grid X-label Y-Label Y-Grid Text Arrow ANNOTATIOLIVE EDITOR INSERT MEW 呂Run Section Normal > Control% B IU M Run and Advance Run Step Find ▼ Text Refacfor Break Run to NAVIG

--------------------------------------------------------------------------------------------------------------------

B)answer

from the bode plot magnitude response we can conclude that the given transfer function is a band pass filter

I) answer

from the pole zero map we can derive the 2 poles at

s=-628.3+j6252

s=-628.3-j6252

and one ZERO at

s=0.

answers to C,E,G

,并15)^ 12575 1253 5 (S+ 6281-25aj 1257 Ju we nouw that, od put 125子W 6233 .21 x1o Cos ( Ioo Cos ( 4ooo

Thanks and regards

Add a comment
Know the answer?
Add Answer to:
All i want is the whole MATLAB code for this nothing else
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Clear steps, please. Consider the following LTI system where, Q -5, and w 2000m rad./sec. a)...

    Clear steps, please. Consider the following LTI system where, Q -5, and w 2000m rad./sec. a) Use MATLAB to determine magnitude response and phase response of the filter. b) What type of filter is it? c) What will be the output of this filter if input xio- 5Cos(1000). Show all calculations step by step as shown in Lecture-21 . d) Verify your answer of part (e) by using Simulink model. Attach the snapshot of Simulink model and output. e) What...

  • 100 Consider the following LTI system, 5, and wo = 2000π rad/sec. where, Q a) Use MATLAB to deter...

    please complete this project. 100 Consider the following LTI system, 5, and wo = 2000π rad/sec. where, Q a) Use MATLAB to determine magnitude response and phase response of the filter b) What type of filter is it? c) What will be the output of this filter if input x,(t)-5Cos(100t). Show all calculations step by step as shown in Lecture-20 d) Verify your answer of part (e) by using Simulink model. Attach the snapshot of Simulink model and output e)...

  • Please complete only F, H, and J only. step by step clearly. please follow the questions. also ty...

    please complete only F, H, and J only. step by step clearly. please follow the questions. also type any codes you used. 100 Consider the following LTI system, where, Q = 5, and wo 200π rad. /sec. a) Use MATLAB to determine magnitude response and phase response of the filter b) What type of filter is it? c) What will be the output of this filter if input x,(t)-5Cos(100t). Show all calculations step by step as shown in Lecture-20 d)...

  • Consider the following LTI system where, Q-5, and wo2000T rad./sec. e) What will be the output...

    Consider the following LTI system where, Q-5, and wo2000T rad./sec. e) What will be the output of this filter if input x2(t) = 5Cos(2000mt) Show all calculations on paper f)Verify your answer of part (e) by using Simulink model. Attach the snapshot of Simulink model and output. g What will be the output of this filter if input x(0) 5Cos(4000t). Show all calculations on paper. h) Verify your answer of part (g) by using Simulink model. Attach the snapshot of...

  • Solve the question in Matlab and please show Matlab code Consider a double Spring-Mass-Damper System as...

    Solve the question in Matlab and please show Matlab code Consider a double Spring-Mass-Damper System as shown in the figure below: U >F(t) A. Create a Simulink model to simulate the dynamics of the above system for the following parameter values: F(t) = Step input force of magnitude 5 N ml = 7 kg, b1 = 3 Nsec/m, kl = 4 N/m m2 = 3 kg, b2 = 1 Nsec/m, k2= 2 N/m B. Submit a snapshot of the Simulink...

  • part II is what I need help one. part 1 is also attached for your reference...

    part II is what I need help one. part 1 is also attached for your reference Part II: Low Pass Filter contd. Noise Removal To observe the noise removal capabilities of a low -pass filter, we will add a second input to the system to simulate noise Step 1: Alter your Simulink model by adding another sine wave function and use a Sum block to add the inputs together as the new input to the system. The second sine function...

  • Please Show All the Steps Carefully. Please include both Written and Matlab approach. Written meaning Approaching...

    Please Show All the Steps Carefully. Please include both Written and Matlab approach. Written meaning Approaching the problem by hand and not using Matlab at all. Highest rating will be given to those who show all the Written and Mattab steps carefully. Do not skip the Written Method at all! Show All Your Work, Please! 2. An FIR system is described by the following Difference equation y n)-0.5 (x(n) - x(n-2)) a. Find the frequency response of this filter and...

  • Build a block diagram representation of this model in Simulink, including integration and summa...

    Build a block diagram representation of this model in Simulink, including integration and summation blocks. Apply a step input to the system and plot the output y(t) for 5 seconds. Assume initial conditions for all states are 0. Discuss the system step response: based on visual observation, is this system stable or unstable? Based on the plot, why? Use the Matlab command ’ss2tf’ to get a transfer function representation for the system. Determine the poles of the system (consider using...

  • Matlab Simulink please list all the steps Extra Credit: Simulink Disturbance Analysis D(s) Controller Plant Gp(s)...

    Matlab Simulink please list all the steps Extra Credit: Simulink Disturbance Analysis D(s) Controller Plant Gp(s) Ge REs 92.9s213.63s 1 97.6s (0.1s + 1) 127 s(s +1)(s +2)(s 5) (s 10) Ge(s) Gp (s) The controller for the system above was designed to accurately track a variety of input signals for the given plant/process. Verify that the feedback system is well suited to this task by creating a model in Simulink and performing the following: 1. Create a model to:...

  • Matlab control

    The open-loop system dynamics model for the NASA eight-axis Advanced Research Manipulator II (ARM II) electromechanical shoulder joint/link, actuated by an armature-controlled dc servomotor is shown in Figure P1.The ARM II shoulder joint constant parameters areKa= 12, L=0.006 H, R= 1.4 Ω, Kb= 0.00867, n=200, Km= 4.375, J=Jm+ JL /n2, D=Dm+DL /n2, JL= 1, DL= 0.5, Jm= 0.00844, and Dm= 0.00013.FIGURE P1 Open-loop model for ARM ll(Due to 29/8/2020)a. Obtain the equivalent open-loop transfer function, ?(?) (with a unity feedback...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT