16-May-2025 04:09:10 sftpack_test(): MATLAB/Octave version 6.4.0 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.084803 0.953949 0.359649 0.015291 -0.119131 0.143800 -0.686824 0.181281 2: -0.493798 -0.436687 -0.056083 0.757346 0.160144 -0.736539 0.390617 0.168405 3: 0.085438 -0.177842 -0.673590 -0.340836 0.540749 -0.513309 -0.046825 0.634767 4: 0.286000 0.010189 -0.197852 -0.341754 0.253372 0.198484 0.563640 -0.616220 5: -0.262493 0.442090 0.356254 0.400296 0.315925 -0.492555 -0.112004 -0.135402 6: -0.919889 -0.075490 0.432775 -0.515952 -0.456257 0.157981 -0.990532 0.126115 7: -0.189595 0.202904 0.061078 -0.343818 -0.606554 -0.184079 -0.215208 0.296342 8: 0.448841 0.128834 0.099230 -0.493688 -0.131945 0.553069 -0.203433 -0.604521 9: -0.276118 0.041938 0.344331 0.896984 0.140245 0.745220 -0.651988 0.609300 10: 0.417508 -0.212426 0.236139 -0.785153 0.424862 0.207161 0.183908 0.488984 The Fourier coefficients Y: Col: 1 2 3 4 Row --- 1: -1.104609 1.354459 0.559620 3.528807 0.508824 0.558924 -3.241051 -1.932354 2: 5.311852 2.936254 0.908719 -3.353080 4.336996 -1.763509 -5.214343 0.212397 3: -1.010328 -2.304699 0.852613 5.207542 -0.862722 -0.897661 -2.733122 -0.463095 4: 0.260014 -1.273620 -1.243723 -4.157060 2.301542 3.520249 4.379016 4.306136 5: -4.741326 0.357847 1.125922 -0.579937 2.511028 1.162812 0.851410 -1.375847 6: -1.999105 5.398183 -0.301276 4.320258 1.447966 -2.663106 -0.334090 1.139133 7: -0.479102 2.655205 0.051766 3.500654 -0.510782 5.680640 -0.724625 -4.339336 8: 4.379535 -0.023129 2.243126 5.349085 -1.936424 5.826398 2.715530 -0.333969 9: -4.141662 2.872062 0.151872 3.575220 -4.274057 0.362801 0.508615 -1.354870 10: -0.090294 0.970648 -0.649395 1.174727 -0.593904 -2.775791 4.172108 1.778569 The recovered data: Col: 1 2 3 4 Row --- 1: 0.084803 0.953949 0.359649 0.015291 -0.119131 0.143800 -0.686824 0.181281 2: -0.493798 -0.436687 -0.056083 0.757346 0.160144 -0.736539 0.390617 0.168405 3: 0.085438 -0.177842 -0.673590 -0.340836 0.540749 -0.513309 -0.046825 0.634767 4: 0.286000 0.010189 -0.197852 -0.341754 0.253372 0.198484 0.563640 -0.616220 5: -0.262493 0.442090 0.356254 0.400296 0.315925 -0.492555 -0.112004 -0.135402 6: -0.919889 -0.075490 0.432775 -0.515952 -0.456257 0.157981 -0.990532 0.126115 7: -0.189595 0.202904 0.061078 -0.343818 -0.606554 -0.184079 -0.215208 0.296342 8: 0.448841 0.128834 0.099230 -0.493688 -0.131945 0.553069 -0.203433 -0.604521 9: -0.276118 0.041938 0.344331 0.896984 0.140245 0.745220 -0.651988 0.609300 10: 0.417508 -0.212426 0.236139 -0.785153 0.424862 0.207161 0.183908 0.488984 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.37659-0.20729i 2 0.10091+0.59934i 3 -0.30248+0.86461i 4 -0.20525+0.65743i 5 0.54829+0.76565i 6 0.83909-0.54213i 7 -0.66625+0.52486i 8 0.53302-0.8281i ...... .............. .............. 36 -0.18456+0.16411i The Fourier coefficients: 1 -0.73875+0.53106i 2 -1.9102+3.4658i 3 -3.1515+1.812i 4 -4.9269+4.3893i 5 -3.5945-0.39389i 6 1.9908-0.98965i 7 -1.6402-4.5711i 8 2.6256+1.5786i ...... .............. .............. 36 4.3457-3.0866i The retrieved data: 1 0.37659-0.20729i 2 0.10091+0.59934i 3 -0.30248+0.86461i 4 -0.20525+0.65743i 5 0.54829+0.76565i 6 0.83909-0.54213i 7 -0.66625+0.52486i 8 0.53302-0.8281i ...... .............. .............. 36 -0.18456+0.16411i 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.868615 2 1.092202 3 3.021631 4 2.575376 5 0.120262 6 2.442286 7 1.341770 8 4.340819 ...... .............. 256 3.880117 The cosine coefficients: 1 1202.649349 2 -30.538384 3 3.790155 4 -18.731494 5 17.529875 6 61.680110 7 -10.017924 8 -45.744079 ...... .............. 256 -41.504178 The retrieved data: 1 0.868615 2 1.092202 3 3.021631 4 2.575376 5 0.120262 6 2.442286 7 1.341770 8 4.340819 ...... .............. 256 3.880117 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 2.092570 2 4.455184 3 0.764484 4 3.058649 5 3.916959 6 4.422737 7 2.925791 8 0.283415 ...... .............. 36 3.255575 A (cosine) coefficients: 0 2.371698 1 -0.160776 2 0.304358 3 -0.090040 4 0.034058 5 0.261924 6 -0.198260 7 0.435097 8 0.586981 9 -0.463581 10 -0.084347 11 0.426735 12 0.131120 13 -0.343736 14 0.133332 15 -0.433413 16 -0.396759 17 -0.264388 18 -0.157434 B (sine) coefficients: 1 -0.163744 2 0.869416 3 0.064616 4 0.406752 5 -0.223548 6 -0.501262 7 -0.185224 8 0.030053 9 0.110795 10 0.756193 11 -0.128943 12 -0.220327 13 0.293716 14 -0.122271 15 0.214156 16 -0.084077 17 0.107557 18 0.000000 The retrieved data: 1 2.092570 2 4.455184 3 0.764484 4 3.058649 5 3.916959 6 4.422737 7 2.925791 8 0.283415 ...... .............. 36 3.255575 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.461499 2 1.453432 3 0.255422 4 0.790565 5 0.220925 6 3.247368 7 3.926670 8 4.553531 ...... .............. 17 0.917846 The Hartley coefficients: 1 8.054482 2 -1.684487 3 -1.030351 4 3.351417 5 -1.459688 6 -0.050306 7 0.594078 8 2.815051 ...... .............. 17 -2.142190 The retrieved data: 1 2.461499 2 1.453432 3 0.255422 4 0.790565 5 0.220925 6 3.247368 7 3.926670 8 4.553531 ...... .............. 17 0.917846 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 1.009259 2 2.210524 3 1.773292 4 0.106640 5 0.068689 6 1.549429 7 4.270267 8 3.430570 ...... .............. 256 2.723065 The cosine coefficients: 1 2.608669 2 -0.185569 3 -0.032629 4 -0.019338 5 -0.014797 6 0.076386 7 0.005246 8 -0.053392 ...... .............. 256 -0.034759 The retrieved data: 1 1.009259 2 2.210524 3 1.773292 4 0.106640 5 0.068689 6 1.549429 7 4.270267 8 3.430570 ...... .............. 256 2.723065 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.731401 2 2.441937 3 0.390978 4 2.844937 5 4.234949 6 1.690082 7 4.805379 8 4.740979 ...... .............. 256 2.303940 The sine coefficients: 1 -1.616632 2 -0.021463 3 -0.563565 4 0.054044 5 -0.379358 6 0.043819 7 -0.283314 8 -0.049137 ...... .............. 256 -0.055796 The retrieved data: 1 3.731401 2 2.441937 3 0.390978 4 2.844937 5 4.234949 6 1.690082 7 4.805379 8 4.740979 ...... .............. 256 2.303940 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 2.819302 2 0.832752 3 2.118295 4 4.522673 5 3.921552 6 1.757282 7 2.327855 8 3.913926 ...... .............. 256 3.680628 The sine coefficients: 1 808.352375 2 -35.811849 3 284.420734 4 -7.479702 5 192.243474 6 41.775429 7 73.407835 8 -28.082982 ...... .............. 256 -4.867411 The retrieved data: 1 2.819302 2 0.832752 3 2.118295 4 4.522673 5 3.921552 6 1.757282 7 2.327855 8 3.913926 ...... .............. 256 3.680628 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 2.062141 2 2.030615 3 3.638234 4 2.142336 5 1.401436 6 4.351017 7 4.175580 8 4.063874 ...... .............. 36 4.190820 I S(I) D(I) 1 3.232830 0.483548 2 3.300292 -1.286763 3 4.726565 1.880069 4 5.531119 -0.373627 5 4.763940 1.022173 6 2.382591 1.035931 7 2.903800 0.626254 8 1.851529 -0.491505 9 4.361928 -3.060616 10 4.059511 -2.100908 11 2.807330 2.301321 12 5.450489 0.862692 13 4.294806 -2.051987 14 3.383661 -0.978877 15 3.922142 -1.591523 16 4.843382 1.136107 17 2.071647 2.562347 18 4.781834 0.725615 The retrieved data: 1 2.062141 2 2.030615 3 3.638234 4 2.142336 5 1.401436 6 4.351017 7 4.175580 8 4.063874 ...... .............. 36 4.190820 sftpack_test(): Normal end of execution. 16-May-2025 04:09:15