A special call allows the independent use of the Compose window:
fdtool('callback','compinp','init1') %compose time domain objects
In time domain, automatic determination of the period length, the excitation frequencies, and the Fourier coefficients is provided. However, if you can set the first two or at least the second one properly, this can improve speed and calculation accuracy. So, if you can, do not forget to fill in the "Frequencies" and/or the "PeriodLength" property, e.g.
data.frequencies = 1/0.03*[1:2:15]; data.periodlength = 0.03;If the data of more than one experiments are used, and measurements are properly synchronized, set also the property "synchronization", e.g.
data.synchronization=’on’;otherwise unnecessarily long processing time may be wasted later, during the execution of the "Variance Analysis" block.
%Make the object: obj = tiddata(outp,inp,1/40960); %Set some properties: obj.periodlength = 1/80; obj.frequencies = [1:2:15]/80; get(obj) %check propertiesNow the variable obj can be imported to the block "Read Time Domain Data".
%First prepare the data in 1 x 5 cell arrays: u = num2cell(inp,1); y = num2cell(outp,1); %Now make the object: obj = tiddata(y,u,1/40960); %Set some properties: obj.periodlength = 1/160; obj.synchronization=’on’; get(obj) %check propertiesNow the variable obj can be imported to the block "Read Time Domain Data".
*****************************