Fourier series graphing tests

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Steve-Matrix
Matrix Staff
Posts: 1465
http://meble-kuchenne.info.pl
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Fourier series graphing tests

Post by Steve-Matrix »

During the development of the v9.2 update I created various projects to test the updated features. I thought I'd share these two which I developed to test the graphing improvements.

They both show how a square wave can be approximated by adding together a series of sine waves. The "X increment" slider effectively sets the resolution of the graph - lower values give better resolution but are slower to plot (when X increment = 1, values for all 10,000 coordinates are calculated and plotted).

I hope you find these interesting or useful.

square fourier 1.png
square fourier 1.png (200.43 KiB) Viewed 4948 times
square fourier 2.png
square fourier 2.png (149.14 KiB) Viewed 4948 times
Attachments
square fourier series 2.fcsx
(54.65 KiB) Downloaded 335 times
square fourier series 1.fcsx
(60.53 KiB) Downloaded 471 times

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: Fourier series graphing tests

Post by p.erasmus »

Beautiful stuff Steve :D
Regards Peter - QME Electronics

stefan.erni
Valued Contributor
Posts: 997
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 190 times
Been thanked: 217 times

Re: Fourier series graphing tests

Post by stefan.erni »

Hi Steve

Thanks a lot.

Yes it's a big help, how to use the graf. I will try to display my EKG (heartbeat).

regards

Stefan

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: Fourier series graphing tests

Post by Steve-Matrix »

stefan.erni wrote:
Thu Jul 29, 2021 1:21 pm
I will try to display my EKG (heartbeat).
Please post an image if you get this working - it would be great to see!

stefan.erni
Valued Contributor
Posts: 997
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 190 times
Been thanked: 217 times

Re: Fourier series graphing tests

Post by stefan.erni »

Hi Steve

The chart is working nice together with Bluetooth to show ECG.
As a sample: Chart with 2 seconds or 20 seconds.

regards

Stefan
ecg_2_2021-08-04_19-11-24.png
ecg_2_2021-08-04_19-11-24.png (47.43 KiB) Viewed 4860 times
ecg_4_2021-08-04_20-03-15.png
ecg_4_2021-08-04_20-03-15.png (178.71 KiB) Viewed 4860 times

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 621 times
Been thanked: 644 times

Re: Fourier series graphing tests

Post by medelec35 »

Hi, Stefan.
That looks really good!
I Thought I would mention Steve is on holiday, so I'm not sure when he will be able to read your post.
Martin

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: Fourier series graphing tests

Post by Steve-Matrix »

Nice one, Stefan. Looks great!

Post Reply