frun_mdce

PURPOSE ^

SYNOPSIS ^

function [X,texe] = frun_mdce(tpause,mode,X)

DESCRIPTION ^

 function for run_mdce:

 INPUTS : 
       - tpause : pause time (s)
       - mode : data transert mode : 0 (back and forth); (1) forth; (-1) back
       - X : input matrix

 OUTPUTS : 
       - X : output matrix
       - toc : execution time

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [X,texe] = frun_mdce(tpause,mode,X)
0002 %
0003 % function for run_mdce:
0004 %
0005 % INPUTS :
0006 %       - tpause : pause time (s)
0007 %       - mode : data transert mode : 0 (back and forth); (1) forth; (-1) back
0008 %       - X : input matrix
0009 %
0010 % OUTPUTS :
0011 %       - X : output matrix
0012 %       - toc : execution time
0013 %
0014 tic
0015 %
0016 pause(tpause);
0017 %
0018 if mode == 1,
0019     X = [];
0020 elseif mode == -1,
0021     X = rand(X);
0022 end
0023 %
0024 texe = toc;

Community support and wiki are available on Redmine. Last update: 18-Apr-2019.