09-Sep-2022 08:47:14 sftpack_test(): MATLAB/Octave version 4.2.2 sftpack() implements a set of "slow" Fourier transforms. c8mat_sft_test(): c8mat_sftf() computes the forward slow Fourier transform. c8mat_sftb() computes the backward slow Fourier transform. The data has dimension N1 = 10 by N2 = 4 The data X: Col: 1 2 3 4 Row --- 1: 0.485371 0.739215 -0.151167 -0.696715 -0.540333 -0.600241 -0.094513 0.033817 2: -0.220804 -0.579890 0.242913 -0.875138 0.108908 -0.863972 0.149691 -0.588474 3: 0.041117 0.905580 -0.739012 0.057248 0.218405 0.354666 -0.261172 -0.082526 4: 0.082307 0.688380 0.912293 0.033621 -0.087064 -0.600264 -0.719552 0.527417 5: 0.830064 -0.234699 -0.145828 -0.122315 0.602783 0.315209 -0.783597 -0.591459 6: 0.628132 0.243989 -0.218915 -0.426116 -0.444754 -0.631180 0.588057 0.327908 7: -0.473492 0.769495 -0.784045 -0.366820 0.312782 0.733329 0.286437 0.123192 8: -0.436582 -0.355494 -0.232405 -0.109305 -0.493136 0.340883 -0.112696 -0.214565 9: -0.500023 0.475225 -0.124427 0.212428 0.817760 -0.251012 0.235381 -0.620047 10: -0.455687 -0.315167 0.646406 -0.693068 -0.169341 0.969272 0.807129 -0.029070 The Fourier coefficients Y: Col: 1 2 3 4 Row --- 1: -0.192606 -1.996663 1.526767 1.880590 0.805435 6.203310 -2.217981 3.259293 2: 0.902064 -2.083252 -5.322460 2.807102 -1.722880 4.293068 -0.525055 1.281864 3: 2.325888 -6.010466 6.721970 -1.122271 -0.972285 0.272764 -2.756135 0.788701 4: 4.043848 0.886397 1.376203 0.754724 2.309765 2.337852 1.608033 -0.261521 5: 0.013842 2.810966 -1.069076 2.421028 1.725758 -3.028561 -0.258946 2.416207 6: -1.342410 4.303801 -4.025180 -0.328893 7.907317 4.316621 0.602959 3.600462 7: -1.918715 -0.186013 7.419545 5.112417 -1.480748 -1.231579 4.536631 6.119301 8: -7.785195 0.063582 2.929501 4.443380 -1.930518 -2.815813 -0.462667 -4.694279 9: 1.030986 0.335557 3.316530 -1.536772 -0.053391 0.348509 3.766597 2.807754 10: -0.084121 -3.363156 4.688571 -1.603292 -4.681272 -2.677449 -1.341717 -1.356676 The recovered data: Col: 1 2 3 4 Row --- 1: 0.485371 0.739215 -0.151167 -0.696715 -0.540333 -0.600241 -0.094513 0.033817 2: -0.220804 -0.579890 0.242913 -0.875138 0.108908 -0.863972 0.149691 -0.588474 3: 0.041117 0.905580 -0.739012 0.057248 0.218405 0.354666 -0.261172 -0.082526 4: 0.082307 0.688380 0.912293 0.033621 -0.087064 -0.600264 -0.719552 0.527417 5: 0.830064 -0.234699 -0.145828 -0.122315 0.602783 0.315209 -0.783597 -0.591459 6: 0.628132 0.243989 -0.218915 -0.426116 -0.444754 -0.631180 0.588057 0.327908 7: -0.473492 0.769495 -0.784045 -0.366820 0.312782 0.733329 0.286437 0.123192 8: -0.436582 -0.355494 -0.232405 -0.109305 -0.493136 0.340883 -0.112696 -0.214565 9: -0.500023 0.475225 -0.124427 0.212428 0.817760 -0.251012 0.235381 -0.620047 10: -0.455687 -0.315167 0.646406 -0.693068 -0.169341 0.969272 0.807129 -0.029070 c8vec_sft_test(): c8vec_sftf() computes the forward slow Fourier transform. c8vec_sftb() computes the backward slow Fourier transform. The number of data values, N = 36 The original data: 1 0.22612+0.25576i 2 -0.62803+0.15684i 3 -0.10314-0.55982i 4 0.26992+0.27768i 5 -0.60021+0.61059i 6 -0.79058+0.022854i 7 -0.51302+0.30904i 8 -0.083235+0.12977i ...... .............. .............. 36 0.39717+0.55998i The Fourier coefficients: 1 -0.56672-2.2105i 2 0.60443+4.3268i 3 3.0877-5.9532i 4 -2.4673-3.8766i 5 -1.2925+0.86731i 6 3.2815+0.78033i 7 1.4499+3.219i 8 0.33202-1.4968i ...... .............. .............. 36 -4.4074+1.9032i The retrieved data: 1 0.22612+0.25576i 2 -0.62803+0.15684i 3 -0.10314-0.55982i 4 0.26992+0.27768i 5 -0.60021+0.61059i 6 -0.79058+0.022854i 7 -0.51302+0.30904i 8 -0.083235+0.12977i ...... .............. .............. 36 0.39717+0.55998i r8vec_sct_test(): r8vec_sct() does a forward or backward slow cosine transform. The number of data items is N = 256 The original data: 1 0.102743 2 3.803924 3 0.171812 4 2.288236 5 4.305739 6 4.089501 7 3.158272 8 3.933011 ...... .............. 256 0.745296 The cosine coefficients: 1 1314.192709 2 27.776694 3 20.397311 4 55.316235 5 -65.831849 6 -41.570517 7 15.281740 8 42.859413 ...... .............. 256 72.176806 The retrieved data: 1 0.102743 2 3.803924 3 0.171812 4 2.288236 5 4.305739 6 4.089501 7 3.158272 8 3.933011 ...... .............. 256 0.745296 r8vec_sft_test(): r8vec_sftf() computes the forward slow Fourier transform. r8vec_sftb() computes the backward slow Fourier transform. The number of data values, N = 36 The original data: 1 3.331387 2 3.796330 3 4.124643 4 2.628816 5 0.564062 6 2.471371 7 1.642849 8 1.256885 ...... .............. 36 1.564244 A (cosine) coefficients: 0 2.308939 1 0.305352 2 -0.096538 3 0.510700 4 -0.300607 5 0.398814 6 -0.065026 7 0.155814 8 -0.306680 9 0.160541 10 -0.056084 11 0.130628 12 -0.144337 13 0.006977 14 0.012511 15 0.032207 16 0.155171 17 -0.064385 18 0.187390 B (sine) coefficients: 1 0.160428 2 -0.400299 3 0.327446 4 0.100834 5 0.356350 6 0.631608 7 0.069892 8 -0.178065 9 0.404425 10 0.603554 11 -0.701268 12 -0.384206 13 -0.151231 14 0.374497 15 0.253724 16 -0.175266 17 0.503216 18 0.000000 The retrieved data: 1 3.331387 2 3.796330 3 4.124643 4 2.628816 5 0.564062 6 2.471371 7 1.642849 8 1.256885 ...... .............. 36 1.564244 r8vec_sht_test(): r8vec_sht() does a forward or backward slow Hartley transform. The number of data items is N = 17 The original data: 1 2.701049 2 2.141292 3 0.686805 4 1.094875 5 4.517208 6 2.908671 7 4.434645 8 3.735808 ...... .............. 17 2.188279 The Hartley coefficients: 1 10.129005 2 -0.312966 3 -1.550527 4 1.452191 5 0.435941 6 1.096642 7 -0.120748 8 -2.165815 ...... .............. 17 -2.016873 The retrieved data: 1 2.701049 2 2.141292 3 0.686805 4 1.094875 5 4.517208 6 2.908671 7 4.434645 8 3.735808 ...... .............. 17 2.188279 r8vec_sqct_test(): r8vec_sqctf() does a forward slow quarter wave cosine transform; r8vec_sqctb() does a backward slow quarter wave cosine transform. The number of data items is N = 256 The original data: 1 0.707722 2 4.149801 3 0.014612 4 1.818309 5 0.664453 6 2.541234 7 0.599925 8 0.079620 ...... .............. 256 3.696448 The cosine coefficients: 1 2.384185 2 -0.066316 3 0.006897 4 -0.078362 5 -0.045846 6 0.070803 7 0.003449 8 0.032717 ...... .............. 256 0.001297 The retrieved data: 1 0.707722 2 4.149801 3 0.014612 4 1.818309 5 0.664453 6 2.541234 7 0.599925 8 0.079620 ...... .............. 256 3.696448 r8vec_sqst_test(): r8vec_sqstf() does a forward slow quarter wave sine transform; r8vec_sqstb() does a backward slow quarter wave sine transform. The number of data items is N = 256 The original data: 1 3.031812 2 3.989381 3 3.919968 4 4.748476 5 4.716777 6 1.466362 7 2.362559 8 3.919465 ...... .............. 256 2.351676 The sine coefficients: 1 -1.596332 2 -0.007968 3 -0.488527 4 -0.028173 5 -0.438383 6 0.035710 7 -0.237395 8 -0.025180 ...... .............. 256 -0.063127 The retrieved data: 1 3.031812 2 3.989381 3 3.919968 4 4.748476 5 4.716777 6 1.466362 7 2.362559 8 3.919465 ...... .............. 256 2.351676 r8vec_sst_test(): r8vec_sst() does a forward or backward slow sine transform. The number of data items is N = 256 The original data: 1 3.389408 2 0.888091 3 4.896032 4 4.124859 5 3.114253 6 0.523399 7 1.630042 8 1.912443 ...... .............. 256 1.210641 The sine coefficients: 1 840.095924 2 65.290558 3 293.766664 4 5.115476 5 136.617099 6 5.297065 7 90.526933 8 41.346695 ...... .............. 256 -3.662701 The retrieved data: 1 3.389408 2 0.888091 3 4.896032 4 4.124859 5 3.114253 6 0.523399 7 1.630042 8 1.912443 ...... .............. 256 1.210641 r8vec_swt_test(): r8vec_swtf() computes the forward slow wavelet transform. r8vec_swtb() computes the backward slow wavelet transform. The number of data values, N = 36 The original data: 1 1.534822 2 4.103099 3 3.885931 4 3.631528 5 0.776862 6 0.204630 7 1.691388 8 0.998574 ...... .............. 36 4.422140 I S(I) D(I) 1 4.574625 1.741058 2 5.062241 -0.378446 3 0.796261 0.765832 4 2.053320 -0.786199 5 2.933838 -1.054293 6 6.593573 -0.903835 7 2.134409 0.594182 8 4.497881 -2.398490 9 2.621816 -0.242076 10 3.320033 0.356794 11 6.132329 -0.429039 12 1.894728 -0.271963 13 3.552128 -2.591047 14 2.675735 -2.884863 15 2.336229 0.964296 16 2.619780 -1.800957 17 2.645658 -1.094009 18 3.706752 2.636864 The retrieved data: 1 1.534822 2 4.103099 3 3.885931 4 3.631528 5 0.776862 6 0.204630 7 1.691388 8 0.998574 ...... .............. 36 4.422140 sftpack_test(): Normal end of execution. 09-Sep-2022 08:47:19