12-Mar-2019 12:17:06 sftpack_test MATLAB version Test sftpack. 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.449860 -0.126667 0.500804 -0.779931 -0.508386 0.562058 -0.896095 -0.368462 2: -0.843197 -0.344280 0.350471 0.016555 -0.506567 0.600496 -0.133488 -0.000925 3: 0.589627 0.260090 0.434989 -0.266623 -0.102156 -0.449993 -0.139057 0.150241 4: 0.391140 0.323400 -0.200947 0.270711 -0.104643 0.326737 0.328655 -0.404610 5: -0.139466 -0.156136 -0.097460 0.901881 0.410629 -0.810177 0.169379 0.018637 6: -0.236066 0.077459 -0.770245 -0.314307 -0.060672 -0.241207 0.293919 0.256896 7: 0.018599 -0.633214 -0.889181 0.265655 0.051993 -0.292541 0.435431 0.405348 8: 0.892850 0.010314 -0.779871 -0.551160 -0.311112 0.805303 0.104944 0.442312 9: -0.560465 0.763795 0.031360 -0.433556 0.080564 -0.944925 0.286007 -0.728799 10: 0.306357 0.026275 0.249089 0.578743 -0.727868 0.481600 0.164835 0.748277 The Fourier coefficients Y: Col: 1 2 3 4 Row --- 1: -1.465442 0.445269 3.478406 -1.621835 -0.352519 0.031505 1.816508 1.949206 2: -0.487562 1.715657 0.081806 1.208107 -2.311917 3.068207 3.038910 -5.037877 3: -1.390022 -1.533804 2.657425 1.467335 -1.403761 -1.054189 1.074098 -4.726448 4: 2.202149 -0.145285 0.501870 -5.440339 1.323768 0.499679 2.437385 -5.045531 5: 2.228377 -4.032603 2.835386 -2.384131 0.461620 3.348926 -2.033034 -0.482422 6: 1.719393 -5.771905 -3.048300 5.958420 1.261758 -2.015708 -0.544562 1.887992 7: -2.190024 -1.021956 2.821756 6.048237 3.787545 7.795566 1.301775 0.857839 8: -1.368806 2.322061 3.086785 0.061117 4.192758 2.380869 2.261255 -1.897698 9: -3.317297 1.472293 -2.965351 -3.696226 0.088873 -2.734572 -3.158452 -1.112150 10: -0.468934 -0.579743 4.247367 5.481049 -3.680489 4.517549 -0.726114 -7.249155 The recovered data: Col: 1 2 3 4 Row --- 1: 0.449860 -0.126667 0.500804 -0.779931 -0.508386 0.562058 -0.896095 -0.368462 2: -0.843197 -0.344280 0.350471 0.016555 -0.506567 0.600496 -0.133488 -0.000925 3: 0.589627 0.260090 0.434989 -0.266623 -0.102156 -0.449993 -0.139057 0.150241 4: 0.391140 0.323400 -0.200947 0.270711 -0.104643 0.326737 0.328655 -0.404610 5: -0.139466 -0.156136 -0.097460 0.901881 0.410629 -0.810177 0.169379 0.018637 6: -0.236066 0.077459 -0.770245 -0.314307 -0.060672 -0.241207 0.293919 0.256896 7: 0.018599 -0.633214 -0.889181 0.265655 0.051993 -0.292541 0.435431 0.405348 8: 0.892850 0.010314 -0.779871 -0.551160 -0.311112 0.805303 0.104944 0.442312 9: -0.560465 0.763795 0.031360 -0.433556 0.080564 -0.944925 0.286007 -0.728799 10: 0.306357 0.026275 0.249089 0.578743 -0.727868 0.481600 0.164835 0.748277 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.44986-0.12667i 2 -0.8432-0.34428i 3 0.58963+0.26009i 4 0.39114+0.3234i 5 -0.13947-0.15614i 6 -0.23607+0.077459i 7 0.018599-0.63321i 8 0.89285+0.010314i ...... .............. .............. 36 0.29392+0.2569i The Fourier coefficients: 1 -2.4567-0.42187i 2 2.2299+1.6494i 3 -1.6944+3.4i 4 4.2784-3.3412i 5 -0.63429-0.87141i 6 -1.326+0.47309i 7 -2.6311-2.6703i 8 -0.69366-0.90799i ...... .............. .............. 36 3.7117-3.4264i The retrieved data: 1 0.44986-0.12667i 2 -0.8432-0.34428i 3 0.58963+0.26009i 4 0.39114+0.3234i 5 -0.13947-0.15614i 6 -0.23607+0.077459i 7 0.018599-0.63321i 8 0.89285+0.010314i ...... .............. .............. 36 0.29392+0.2569i 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 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 256 3.311248 The cosine coefficients: 1 1235.763551 2 9.143350 3 -62.712728 4 -0.572663 5 -6.598350 6 20.240155 7 -6.316376 8 -38.659413 ...... .............. 256 3.859132 The retrieved data: 1 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 256 3.311248 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 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 36 2.989584 A (cosine) coefficients: 0 2.298997 1 0.429091 2 0.489457 3 0.362328 4 -0.174793 5 0.043507 6 -0.490074 7 0.124923 8 -0.582134 9 0.249558 10 -0.482253 11 -0.296213 12 -0.312336 13 0.215075 14 -0.464846 15 -0.748688 16 0.393463 17 -0.069898 18 0.106927 B (sine) coefficients: 1 -0.359246 2 -0.591059 3 0.180386 4 0.394796 5 -0.022394 6 0.443077 7 -0.001390 8 -0.223933 9 0.716866 10 -0.721890 11 0.122542 12 0.312165 13 0.200636 14 0.137217 15 -0.308057 16 0.479971 17 0.163462 18 -0.000000 The retrieved data: 1 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 36 2.989584 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 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 17 4.487520 The Hartley coefficients: 1 9.042421 2 1.673815 3 1.161996 4 0.374418 5 0.986813 6 -1.165019 7 -0.516691 8 -4.019832 ...... .............. 17 2.955848 The retrieved data: 1 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 17 4.487520 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.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 256 3.311248 The cosine coefficients: 1 2.417482 2 0.013462 3 -0.122910 4 -0.005484 5 -0.012572 6 0.034562 7 -0.012423 8 -0.079549 ...... .............. 256 -0.034257 The retrieved data: 1 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 256 3.311248 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 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 256 3.311248 The sine coefficients: 1 -1.593152 2 -0.012431 3 -0.429692 4 0.011438 5 -0.275679 6 -0.062827 7 -0.224498 8 0.070504 ...... .............. 256 -0.003188 The retrieved data: 1 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 256 3.311248 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 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 256 3.311248 The sine coefficients: 1 818.579697 2 6.393242 3 220.438164 4 -5.733327 5 141.388069 6 31.863806 7 114.343130 8 -36.476753 ...... .............. 256 -17.404513 The retrieved data: 1 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 256 3.311248 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.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 36 2.989584 I S(I) D(I) 1 5.093519 2.655967 2 4.775109 -0.900009 3 1.496962 -0.411156 4 0.720820 -0.468991 5 2.535758 1.637487 6 1.990735 1.566231 7 5.017909 0.687648 8 2.711886 -2.224837 9 3.731503 -2.388939 10 0.704000 0.611264 11 5.724577 -1.486316 12 0.030000 1.001479 13 4.344986 1.202814 14 2.494572 1.564775 15 3.516613 -2.329095 16 4.691966 -0.706486 17 4.612895 -1.429011 18 4.329094 -1.304737 The retrieved data: 1 1.092091 2 4.781588 3 4.147546 4 2.808477 5 2.076535 6 0.330594 7 1.287889 8 0.549784 ...... .............. 36 2.989584 sftpack_test Normal end of execution. 12-Mar-2019 12:17:12