not enough input arguments
1 view (last 30 days)
Hi, Im trying to calculate the energy of this signal. I can't seem to locate the error and i dont know if I defined the inline function correctly. The function has no time interval. Error messages for this code are 'Not enough input argument' and 'Error in indexing'.
This is my code:
Not sure where it went wrong.
Help is appreciated and thanks.