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

polyvac

by Vassili Pastushenko

 

05 Aug 2004 (Updated 18 Nov 2004)

No BSD License  

Vectorized "polyval" for columns of a matrix

Download Now | 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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com