.TRANSFORM.Math.max_len_seq__sine_time

Information

Return time sequence interval and initial mls value as the last index

Interface

function max_len_seq__sine_time
  input Real weights[:] = {1, 1, 1, 1, 1, 1, 1};
  input Integer harmonics[size(weights, 1)] = {1, 2, 4, 8, 16, 32, 64};
  input Real bias = 0 "Bias to control middle value";
  input Boolean integralTime = true "=false for sum(mls_t) = 1 else mls_t[end] = 1";
  output Real mls_t[integer(sum(abs(diff(max_len_seq_sine(weights, harmonics))))) + 1 + 1] "Time intervals and last index is mls[1]";
end max_len_seq__sine_time;

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos