From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-19-2013 07:22 AM
Hello,
I am trying to pre process some data for fft processing and in Matlab I would use the Detrend function and I was wondering if these is anything similar in DIAdem.
I am using DIAdem 2012
Thanks
Solved! Go to Solution.
07-26-2013 10:12 AM
Basically in Matlab Detrend on a matrix simple subtracts the linear line of best fit from each value of data in the array.
For example if you have an array A[2,3,5,7,5] and you were to detend it in MatLab it would equal detA[-04, -0.4, 0.6, 1.6, -1.4].
If you subtract detA from A you will get A-detA[2.4, 3.4, 4.4, 5.4, 6.4] which is exaclty the same as finding the linera line of best fit for A.
07-29-2013 03:07 PM
So Tim,
Are you still interested in the sequence of commands in DIAdem to do something like this? I'm confused why you marked your second post as a solution.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
07-30-2013 02:57 PM
Nope I was able to correlate what the detrend function does in Matlab. My solved post gives a breif example of this.
08-04-2014 08:33 AM
08-05-2014 05:23 PM
Hey TobyPolocoser,
I would suggest creating a new forum post for this on the DIAdem board so that more people can see it. This post is a year old, so this page may not get a lot of user traffic. Let me know if you have any questions!
Thanks,
Myriam