dirac16
Member level 5

I want to do a linear regression analysis on an output signal of a transient analysis. Particularly, I am interested in the slope of the line and not the offset. The formula below indicates the equation for the slope:
The n is the size of the x and y vector. I have tried to implement this by ADE calculator. I have the data for x and y but the thing is I can't find a function for summation in the functions list. Is there any way that you know to calculate the slope in ADE?