compDiffInt - cd = cv(length(cv-1-1:0 Ştermines the...

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 %curve. For the integral curve, you may assume the constant term is 0.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cd = cv.*(length(cv)-1:-1:0); %determines the differential coefficients cd(end) = ; %deletes the final coefficient ci = cv./(length(cv):-1:1); %determines the integral coefficients ci(end+1) = 0; %sets the constant to 0 end e...
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 Tech.

Ask a homework question - tutors are online