polyvac

Vectorized "polyval" for columns of a matrix
4.1K Downloads
Updated 18 Nov 2004

No License

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.

Cite As

Vassili Pastushenko (2024). polyvac (https://www.mathworks.com/matlabcentral/fileexchange/5638-polyvac), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Polynomials in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Improve summary