quadvgk

版本 1.0.0.0 (2.6 KB) 作者: Adam Wyatt
G7-K15 adaptive quadrature on vector-valued functions
2.8K 次下载
更新时间 2008/2/18

查看许可证

Adaptation of quadgk for use on vector valued functions (i.e. the integral of many functions).

The input function should return a matrix of size (NF, NX) where NF is the number of integrals to calculate and NX is the number of points across each function.

This routine is as efficient as quadgk on a single function, more efficient on calculating multiple functions across the same span (provided they require similar sampling).

Consider the following problem:
E(x, L) = int(z = 0..L, fft(E(kx).*exp(i*kx.^2*z/2k)));

quadvgk allows E(kx) to be evaluated once only for every z position, thus significantly improving performance.

引用格式

Adam Wyatt (2024). quadvgk (https://www.mathworks.com/matlabcentral/fileexchange/18801-quadvgk), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息
致谢

参考作品: quad_M;quadl_M

启发作品: NCTCDFVW

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0