AE202 Problem Set 2

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

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

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 [email protected] . 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)

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### 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
Ask a homework question - tutors are online