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 (2026). polyvac (https://in.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
Version Published Release Notes
1.0.0.0

Improve summary