How to use h_cubature function from Cubature package in MATLAB?

6 ビュー (過去 30 日間)
Riccardo Brignone
Riccardo Brignone 2017 年 9 月 30 日
回答済み: Jatin Waghela 2017 年 10 月 3 日
Hi!
I have to solve numerically some integrals. I've done it with Matlab, using integral, integral2, integral3 and so on, now, in order to increase the computational efficiency I would like to use "h_cubature" function from:
https://github.com/stevengj/cubature
Running it on Julia I've seen that it is very faster than integral3 for triple numerical integration, but I have to run it in MATLAB!
Is there a way to do that? If yes, how can I do that?
Thanks in advance!

回答 (1 件)

Jatin Waghela
Jatin Waghela 2017 年 10 月 3 日
The "h_cubature" in the above link you provided is a C package.
Please refer to the below documentation link which gives more information on writing C/C++ programs that work with MATLAB and see of that helps.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by