AE202 Problem Set 2 - AE202 Problem Set 2: MATLAB DUE: 23...

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

View Full Document Right Arrow Icon
AE202 Problem Set 2: MATLAB DUE: 23 February 2011 Spring 2011 Instructions for submitting MATLAB code: Include a printout of your MATLAB code with your homework solutions. Email electronic copies of your MATLAB functions to cmartin6@illinois.edu . In a single zip (or rar) file named LastName_FirstName_AE202HW2.zip . Please include AE202 Homework 2 in the subject line of the email. 1. In MATLAB polynomials are stored as a vector of their coefficients. i.e. 1 1 1 0 ( ) ... nn p x a x a x a x a is stored as a vector p=[a n , a n-1 , … , a 1 , a 0 ] a. Write a MATLAB function that computes the coefficients of the polynomial that is formed by multiplying 2 other polynomials. Function should be of the form: CombinedPolyCoeff = polyMultiply ( polyCoeffA, polyCoeffB) You cannot use the inbuilt MATLAB function conv b. Write a MATLAB function that computes the coefficients of the polynomial that is the derivative of the input polynomial. Function should be of the form: diffPolyCoeff = polyDerivative ( polyCoeff)
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.

Page1 / 3

AE202 Problem Set 2 - AE202 Problem Set 2: MATLAB DUE: 23...

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