.PlanarMechanics.Utilities.Blocks.SquaretimesSign

Information

This block outputs squared input real signal whereby the sign of the output is the same as input. The size of input u and output y are defined by a parameter blockSize, thus

for i in 1:blockSize loop
  y[i] = sign(u[i]) * u[i]^2;
end for;

Generated at 2024-05-07T18:16:22Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos