how to generate the new curve using high points of the existing sinusoidal curve in hypergraph

NISHANTH_PATEL_GM
NISHANTH_PATEL_GM Altair Community Member
edited March 2023 in Community Q&A

Procedure to plot the new curve using high points of the existing sinusoidal curve

Answers

  • Sebastian_Karp
    Sebastian_Karp
    Altair Employee

    Hello @NISHANTH_PATEL_GM

    you may use the peaks() function for this. Create a new math-based curve with vector expressions like

    X =  p1w1c1.x[peaks(p1w1c1.y,1)]
    Y =  p1w1c1.y[peaks(p1w1c1.y,1)]
    


    grafik.png



    In case your usecase is a bit different, please add some details by e.g. screenshots.

    Thanks!