No BSD License  

Highlights from
polyvac

Be the first to rate this file! 13 Downloads (last 30 days) File Size: 630 Bytes File ID: #5638

polyvac

by Vassili Pastushenko

 

05 Aug 2004 (Updated 18 Nov 2004)

Vectorized "polyval" for columns of a matrix

| Watch this File

File Information
Description

Vectorized "polyval" for polynomials represented by columns of a matrix Z (usually produced by POLYFIC).

Demo:
let x = a vector of length N:

DAT=polyvac(Z,x)

produces matrix DAT, so that

DAT(:,i)=polyval(Z(:,i),x(:));

Up to 10 times inctreased speed in comparison to nonvectorized version.

MATLAB release MATLAB 6.1 (R12.1)
Other requirements None
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
18 Nov 2004

Improve summary

Tag Activity for this File
Tag Applied By Date/Time
approximation Vassili Pastushenko 22 Oct 2008 07:29:05
interpolation Vassili Pastushenko 22 Oct 2008 07:29:05
polynomial values Vassili Pastushenko 22 Oct 2008 07:29:05
polyval Vassili Pastushenko 22 Oct 2008 07:29:05
columns Vassili Pastushenko 22 Oct 2008 07:29:05
matrix Vassili Pastushenko 22 Oct 2008 07:29:05

Contact us at files@mathworks.com