compDiffInt - %curve. For the integral curve, you may...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [cd ci] = compDiffInt(cv) %The function takes in the coefficients vector describing a given %polynomial curve and returns the coefficients vector of the derivative %of the curve as well as the coefficients vector of the integral of the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %curve. For the integral curve, you may assume the constant term is 0. N = length(cv) - 1; powers = N:-1:1; cd = cv(1:N).*powers; newN = length(cv) + 1; newpowers = newN:-1:1; ci = [cv; c...
View Full Document

This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Institute of Technology.

Ask a homework question - tutors are online