Home > data-analysis > manip > cont > cont_derivate.m

cont_derivate

PURPOSE ^

cont_derivate Calcuate the derivate of cont data

SYNOPSIS ^

function res = cont_derivate(cont)

DESCRIPTION ^

cont_derivate   Calcuate the derivate of cont data

 res = cont_derivate(cont)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function res = cont_derivate(cont)
0002 %cont_derivate   Calcuate the derivate of cont data
0003 %
0004 % res = cont_derivate(cont)
0005 %
0006 res (:,1) = cont(1:end-1,1);
0007 for i=2:size(cont,2)
0008     res(:,i) = diff(cont(:,i)) ./ diff(cont(:,1));
0009 end
0010 end

Generated on Tue 23-May-2017 20:00:55 by m2html © 2005