diffCenterVar

1st and 2nd derivatives, non-uniform time grid, second-order method
199 descargas
Actualizado 19 jul 2016

Ver licencia

% [dx, ddx] = diffCenterVar(t,x);
%
% Computes first and second derivatives of x(t)
% --> Second-order accurate
% --> Works for non-uniform grid
%
% INPUTS:
% t = [1,m] = time grid
% x = [n,m] = function values for each point on the grid
%
% OUTPUTS:
% dx = [n,m] = first derivative of x
% ddx = [n,m] = second derivative of x
%
% NOTES:
% This function works by locally fitting a quadratic curve between each
% set of three points. See Derive_Eqns.m for details.
%

Citar como

Matthew Kelly (2024). diffCenterVar (https://www.mathworks.com/matlabcentral/fileexchange/58287-diffcentervar), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2012a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Least Squares en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: diffCenter

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0