I am attempting to use the. function block in plecs standalone. I have 6 signals and want to have a single output. equal to -0.5*(max(u)-min(u)). Where max(u) would be the maximum value of any of the inputs. I get errors about the expression and the “(” positioning or use of max if I use the format above.
The help information says I can use max within the expression but I am unsure of the formatting. Thanks