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

cont_divide

PURPOSE ^

Divide the values in a continuous variable by a constant value.

SYNOPSIS ^

function divided = cont_divide(cont, divisor)

DESCRIPTION ^

 Divide the values in a continuous variable by a constant value.

 usage:
   dividend = cont_divide(cont_variable, divisor)


 The return value is another continual variable, where the value for each
 time stamp has been divided by the divisor.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function divided = cont_divide(cont, divisor)
0002 % Divide the values in a continuous variable by a constant value.
0003 %
0004 % usage:
0005 %   dividend = cont_divide(cont_variable, divisor)
0006 %
0007 %
0008 % The return value is another continual variable, where the value for each
0009 % time stamp has been divided by the divisor.
0010 
0011 
0012 divided = horzcat(cont(:, 1), cont(:, 2:end) / divisor);

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