Hi Team
Is there a componet that will calculate standard deviation?
If not then it may be nice to have.
Thanks,
Wayne M
Calculate Standard Deviation
-
- Posts: 94
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 04, 2020 6:12 pm
- Has thanked: 1 time
- Been thanked: 9 times
-
- Matrix Staff
- Posts: 1882
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 484 times
- Been thanked: 661 times
Re: Calculate Standard Deviation
Hi Wayne,
Good suggestion, we could certainly look to add this into the DSP library for you. Would you want a none DSP version too?
Good suggestion, we could certainly look to add this into the DSP library for you. Would you want a none DSP version too?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 94
- Joined: Fri Dec 04, 2020 6:12 pm
- Has thanked: 1 time
- Been thanked: 9 times
Re: Calculate Standard Deviation
Hi Ben
Yes I would love that please. Because I do not have DSP license.
Thanks
Wayne M
Yes I would love that please. Because I do not have DSP license.
Thanks
Wayne M
-
- Matrix Staff
- Posts: 1882
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 484 times
- Been thanked: 661 times
Re: Calculate Standard Deviation
Hi Wayne,
I've had a quick go at a component for you and pushed it to the library update system. Once you have it it should appear under storage.
The source project is here if you're interested.
Let me know how you get on. If it works ok I'll try and add a DSP version too.
A minor future optimisation would be to upgrade the FIFO to a circular buffer so we don't have to keep shifting the values through the buffer but might not make a big difference for small buffers. A none float based version might also be good.
I've had a quick go at a component for you and pushed it to the library update system. Once you have it it should appear under storage.
The source project is here if you're interested.
Let me know how you get on. If it works ok I'll try and add a DSP version too.
A minor future optimisation would be to upgrade the FIFO to a circular buffer so we don't have to keep shifting the values through the buffer but might not make a big difference for small buffers. A none float based version might also be good.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 94
- Joined: Fri Dec 04, 2020 6:12 pm
- Has thanked: 1 time
- Been thanked: 9 times
Re: Calculate Standard Deviation
Hi Ben,
Thanks for putting this togeather.
i have had a quick play with it and can the number of Samples be assigned with a variable so that the sample number can be changed based on number of sample that was gathered. And not a fixed amount that is assigned to the commonent.
Thanks,
Wayne M
Thanks for putting this togeather.
i have had a quick play with it and can the number of Samples be assigned with a variable so that the sample number can be changed based on number of sample that was gathered. And not a fixed amount that is assigned to the commonent.
Thanks,
Wayne M
-
- Posts: 94
- Joined: Fri Dec 04, 2020 6:12 pm
- Has thanked: 1 time
- Been thanked: 9 times
Re: Calculate Standard Deviation
Hi Ben,
Is it posible to assign a veriable to number of samples and not have it fixed to the component.
Thanks,
Wayne M
Is it posible to assign a veriable to number of samples and not have it fixed to the component.
Thanks,
Wayne M
-
- Matrix Staff
- Posts: 1882
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 484 times
- Been thanked: 661 times
Re: Calculate Standard Deviation
Hi Wayne,
That's been added for you now. I've pushed the latest component to the library update system for you.
The latest source is here if you're interested.
That's been added for you now. I've pushed the latest component to the library update system for you.
The latest source is here if you're interested.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 94
- Joined: Fri Dec 04, 2020 6:12 pm
- Has thanked: 1 time
- Been thanked: 9 times