How can I use compose to smooth data?

Hagar Veksler
Hagar Veksler Altair Community Member
edited July 2023 in Community Q&A

I have a matrix that I would like to smooth.

In MATLAB, I can use the smooth command.

How can I smooth my matrix using compose?

Many thanks!

Answers

  • manoj kandukuri
    manoj kandukuri
    Altair Employee
    edited July 2023

    Hello Hagar, 

    Currently we donot support smooth function in Compose, but to help with an alternative to the smooth command, can you please elaborate a bit on how you're using this command? 

    few details like:

    1. Is your matrix a 2D or a ND Matrix? 

    2. Are you using any Mode in  you smooth command?

    3. are you using a default frame window length? 

    FYI, I donot have access to Smooth command of Matlab, can you please share some reference to the smooth command in pdf.  I can take a look at it and suggest some alternative using OML commands or using our Python Bridge commands

     

  • Hagar Veksler
    Hagar Veksler Altair Community Member
    edited July 2023

    Thank you Manoj!

    I work with 2D noisy matrixes. in Matlab, I use the smoothdata function:

    https://www.mathworks.com/help/matlab/ref/smoothdata.html

    with a default window length.

    I try to eliminate noise in my data and don't care much about the details of the algorithm.