HW5 #3 - %Engineering 6 Spring 2004 Problem 5.3%Ryan Uy...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 %Engineering 6, Spring 2004, Problem 5.3 %Ryan Uy, 2509 %Section B05, Tues. 3-4 % (a) Find and display the coefficient vector c of the polynomial resulting % from the product C(s) = A(s)B(s) = (4s^4 - 11s^2 + 6s - 10)(6s^2 + 4) A = [4 0 -11 6 -10] B = [6 0 4] C = conv(A,B) fprintf('Coefficient vector c of A(s)B(s) = [%.0f %.0f %.0f %.0f %.0f %.0f %.0f]\n\n', C) % (b) Use the polyder function to find and display the derivative of % A(s)B(s), as defined in part (a) der = polyder(A,B) fprintf('The derivative of A(s)B(s) is %.0fs^5 + %.0fs^4 + %.0fs^3 + %.0fs^2 + %.0fs + %.0f\n\n', der) % (c) Find and display the quotient coefficient vector q and the remainder % coefficient vector r for D(s) = (3s^3 + 12s^2 - 23s + 14)/(9s^2 + 3s + 4) d1 = [3 12 -23 14] d2 = [9 3 4] [q r] = deconv(d1,d2) fprintf('Quotient coefficient vector q of D(s) = [%.2f %.2f]\n',q) fprintf('Remainder coefficient vector r of D(s) = [%.2f %.2f %.2f %.2f]\n\n',r) % (d) Find the coefficient vector e of the polynomial E(s) that has five
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/22/2011 for the course ENG 006 taught by Professor Lagerstrom during the Spring '06 term at UC Davis.

Page1 / 4

HW5 #3 - %Engineering 6 Spring 2004 Problem 5.3%Ryan Uy...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online