C++ Math Library Reference | ![]() ![]() |
Cumulative trapezoidal numerical integration
C++ Prototype
mwArray cumtrapz(const mwArray &Y); mwArray cumtrapz(const mwArray &X, const mwArray &Y); mwArray cumtrapz(const mwArray &X, const mwArray &Y, const mwArray &dim);
C++ Syntax
#include "matlab.hpp" mwArray X, Y, dim; // Input argument(s) mwArray Z; // Return value Z = cumtrapz(Y); Z = cumtrapz(X,Y); Z = cumtrapz(X,Y,dim);
MATLAB Syntax
Z = cumtrapz(Y) Z = cumtrapz(X,Y) Z = cumtrapz(... dim)
See Also
cumtrapz
Calling Conventions![]() | cumsum | date | ![]() |