cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Ashraff09
Level II

Calculating the Top of a Square wave from a Continuous Data

Hello, 

 

I would like to calculate the Top(not max) of an imperfect square wave signal that I measure, the distinction of the Top and Max is illustrated in the image below. It is somewhat the average of the high value right after the cliff at the edges of the signal. 

Is there a way to calculate the Top value via JMP? 

Ashraff09_0-1640080223860.png

 

Thank you in advance! 

 

1 REPLY 1
peng_liu
Staff

Re: Calculating the Top of a Square wave from a Continuous Data

Looks like you have multiple such curves in your data. And they don't have an exact profile as the one that you show.

peng_liu_1-1640097365774.png

peng_liu_2-1640097448445.pngpeng_liu_3-1640097474070.png

So questions:

  1. What is the definition of "Top" given the real data?
  2. Do you want the all Top's of individual curves or, a "Top" of all curves? Definition.

Here are a couple of possible approaches.

First one. If your definition can define one and only one point on individual curves, or all curves, express your definition as a formula, which returns 1 for match the definition, 0 otherwise. I have tried a couple of my imaginations, and seems such a rigorous definition is not trivial.

Second one. If the desire is just a rough quantity of some sort of "bottom" at the "top", seems even a histogram can be an interesting approach.

peng_liu_8-1640098954529.png