matlab实现矩阵列的矢量化

收录时间:2019-03-11
资源分类:Matlab 工具:MATLAB 6.1 (R12.1)

matlab实现矩阵列的矢量化

 

polyvac

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.

文件下载列表
polyvac.zip (501B)  
附件内容
polyvac.m  
更多

目前尚无评论

用户反馈   关于我们
Copyright (©) ZHIHUISHI.COM 2013 All Rights Reserved.
京ICP备14040384号