blob: 2c253cfc74bf3b13649fc9843b0006e592728efc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#N canvas 547 150 672 515 10;
#X text 457 17 updated for;
#X obj 545 17 iemmatrix 0.2;
#X obj 594 43 matrix;
#X text 464 42 see also help for;
#X msg 11 124 bang;
#X text 89 15 [mtx_rowrfft];
#X text 46 34 real fft in each matrix row;
#X text 7 60 you can calculate real ffts in column direction \; matrix
has to have 2^k columns \; a N/2+1 columns matrix is the result \;
;
#X obj 11 191 mtx_cumsum;
#X msg 11 147 1 16;
#X obj 11 169 mtx_ones;
#X obj 11 213 mtx_- 1;
#X obj 49 255 mtx_* 0;
#X floatatom 172 234 5 0 0 0 - - -;
#X text 212 232 <-- scroll here to select frequency;
#X obj 172 255 / 8;
#X obj 49 330 mtx_rowrfft;
#X obj 49 306 t a a;
#X obj 92 306 mtx_print original;
#X obj 49 394 mtx_print rfft_realpart;
#X obj 121 372 mtx_print rfft_imagpart;
#X obj 261 438 mtx_rowrifft;
#X text 266 419 see also:;
#X obj 49 280 mtx_cos;
#X obj 103 255 * 3.14159;
#X text 109 280 cosine wave;
#X obj 121 352 mtx_int;
#X obj 49 373 mtx_int;
#X connect 4 0 9 0;
#X connect 8 0 11 0;
#X connect 9 0 10 0;
#X connect 10 0 8 0;
#X connect 11 0 12 0;
#X connect 12 0 23 0;
#X connect 13 0 15 0;
#X connect 15 0 24 0;
#X connect 16 0 27 0;
#X connect 16 1 26 0;
#X connect 17 0 16 0;
#X connect 17 1 18 0;
#X connect 23 0 17 0;
#X connect 24 0 12 1;
#X connect 26 0 20 0;
#X connect 27 0 19 0;
|