This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-F28069M: area underneath the curve

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: MOTORWARE

Tool/software: Code Composer Studio

Hello,

I am trying to solve motorware lab 13b, which is position sensing lab. Now the lab is working perfectly. I have generate a speed sample graph. but now i want to calculate the revolution moved by the rotor from the graph by calculating the area underneath the curve as shown in figure. but problem is x axis is in samples. how can i get time information from the sample so that i can calculate the area underneath?

irtifa