Warning: X does not support locale en_US.UTF-8 22-Apr-2023 16:05:10 walsh_transform_test(): MATLAB/Octave version 9.14.0.2206163 (R2023a). Test walsh() ffwt_test(): ffwt() computes a fast Walsh transform. I X(I) Y=FFWT(X)/N Z=FFWT(Y)/N 1 0.814724 0.609467 0.814724 2 0.905792 -0.069947 0.905792 3 0.126987 0.033732 0.126987 4 0.913376 0.116968 0.913376 5 0.632359 0.066840 0.632359 6 0.097540 0.030114 0.097540 7 0.278498 -0.044368 0.278498 8 0.546882 0.117452 0.546882 9 0.957507 0.132345 0.957507 10 0.964889 0.054970 0.964889 11 0.157613 -0.068755 0.157613 12 0.970593 0.055270 0.970593 13 0.957167 -0.193402 0.957167 14 0.485376 0.050416 0.485376 15 0.800280 -0.057553 0.800280 16 0.141886 -0.018825 0.141886 I X(I) Y=FFWT(X)/N Z=FFWT(Y)/N 1 1.000000 8.500000 1.000000 2 2.000000 -4.000000 2.000000 3 3.000000 0.000000 3.000000 4 4.000000 -2.000000 4.000000 5 5.000000 0.000000 5.000000 6 6.000000 0.000000 6.000000 7 7.000000 0.000000 7.000000 8 8.000000 -1.000000 8.000000 9 9.000000 0.000000 9.000000 10 10.000000 0.000000 10.000000 11 11.000000 0.000000 11.000000 12 12.000000 0.000000 12.000000 13 13.000000 0.000000 13.000000 14 14.000000 0.000000 14.000000 15 15.000000 0.000000 15.000000 16 16.000000 -0.500000 16.000000 fwt_test(): fwt() computes a fast Walsh transform. I X(I) Y=FWT(X)/N Z=FWT(Y)/N 1 0.421761 0.606259 0.421761 2 0.915736 0.089212 0.915736 3 0.792207 -0.024542 0.792207 4 0.959492 0.101370 0.959492 5 0.655741 0.055612 0.655741 6 0.035712 0.029071 0.035712 7 0.849129 -0.118486 0.849129 8 0.933993 -0.069748 0.933993 9 0.678735 -0.015102 0.678735 10 0.757740 0.062377 0.757740 11 0.743132 -0.049475 0.743132 12 0.392227 -0.079473 0.392227 13 0.655478 -0.130189 0.655478 14 0.171187 -0.019364 0.171187 15 0.706046 -0.097281 0.706046 16 0.031833 0.081519 0.031833 I X(I) Y=FWT(X)/N Z=FWT(Y)/N 1 1.000000 8.500000 1.000000 2 2.000000 -4.000000 2.000000 3 3.000000 0.000000 3.000000 4 4.000000 -2.000000 4.000000 5 5.000000 0.000000 5.000000 6 6.000000 0.000000 6.000000 7 7.000000 0.000000 7.000000 8 8.000000 -1.000000 8.000000 9 9.000000 0.000000 9.000000 10 10.000000 0.000000 10.000000 11 11.000000 0.000000 11.000000 12 12.000000 0.000000 12.000000 13 13.000000 0.000000 13.000000 14 14.000000 0.000000 14.000000 15 15.000000 0.000000 15.000000 16 16.000000 -0.500000 16.000000 haar_test(): haar() computes a Haar transform. hnorm() normalizes the transformed data. haarin() computes an inverse Haar transform. I X(I) Y=HAAR(X) Z=HNORM(Y) W=HAARIN(Z) 1 0.276923 7.389836 0.461865 0.276923 2 0.046171 -0.909275 -0.056830 0.046171 3 0.097132 -0.752912 -0.094114 0.097132 4 0.823458 0.612483 0.076560 0.823458 5 0.694829 -0.597495 -0.149374 0.694829 6 0.317099 0.027260 0.006815 0.317099 7 0.950222 -0.740414 -0.185103 0.950222 8 0.034446 -0.415262 -0.103816 0.034446 9 0.438744 0.230752 0.115376 0.438744 10 0.381558 -0.726326 -0.363163 0.381558 11 0.765517 0.377729 0.188865 0.765517 12 0.795200 0.915776 0.457888 0.795200 13 0.186873 0.057186 0.028593 0.186873 14 0.489764 -0.029683 -0.014842 0.489764 15 0.445586 -0.302892 -0.151446 0.445586 16 0.646313 -0.200727 -0.100363 0.646313 I X(I) Y=HAAR(X) Z=HNORM(Y) W=HAARIN(Z) 1 1.000000 136.000000 8.500000 1.000000 2 2.000000 -64.000000 -4.000000 2.000000 3 3.000000 -16.000000 -2.000000 3.000000 4 4.000000 -16.000000 -2.000000 4.000000 5 5.000000 -4.000000 -1.000000 5.000000 6 6.000000 -4.000000 -1.000000 6.000000 7 7.000000 -4.000000 -1.000000 7.000000 8 8.000000 -4.000000 -1.000000 8.000000 9 9.000000 -1.000000 -0.500000 9.000000 10 10.000000 -1.000000 -0.500000 10.000000 11 11.000000 -1.000000 -0.500000 11.000000 12 12.000000 -1.000000 -0.500000 12.000000 13 13.000000 -1.000000 -0.500000 13.000000 14 14.000000 -1.000000 -0.500000 14.000000 15 15.000000 -1.000000 -0.500000 15.000000 16 16.000000 -1.000000 -0.500000 16.000000 walsh_test(): walsh() computes a fast Walsh transform. I X(I) Y=FWT(X)/N Z=FWT(Y)/N 1 0.709365 0.510966 0.709365 2 0.754687 -0.029110 0.754687 3 0.276025 0.067931 0.276025 4 0.679703 0.055158 0.679703 5 0.655098 0.062356 0.655098 6 0.162612 -0.023859 0.162612 7 0.118998 0.026018 0.118998 8 0.498364 0.062566 0.498364 9 0.959744 0.136088 0.959744 10 0.340386 0.017688 0.340386 11 0.585268 -0.005132 0.585268 12 0.223812 -0.059055 0.223812 13 0.751267 0.007228 0.751267 14 0.255095 -0.077493 0.255095 15 0.505957 -0.101234 0.505957 16 0.699077 0.059249 0.699077 I X(I) Y=FWT(X)/N Z=FWT(Y)/N 1 1.000000 8.500000 1.000000 2 2.000000 -4.000000 2.000000 3 3.000000 0.000000 3.000000 4 4.000000 -2.000000 4.000000 5 5.000000 0.000000 5.000000 6 6.000000 -0.000000 6.000000 7 7.000000 0.000000 7.000000 8 8.000000 -1.000000 8.000000 9 9.000000 0.000000 9.000000 10 10.000000 -0.000000 10.000000 11 11.000000 0.000000 11.000000 12 12.000000 -0.000000 12.000000 13 13.000000 0.000000 13.000000 14 14.000000 -0.000000 14.000000 15 15.000000 0.000000 15.000000 16 16.000000 -0.500000 16.000000 walsh_transform_test(): Normal end of execution. 22-Apr-2023 16:05:11 [Warning: "../walsh" not found in path.] [> In rmpath (line 71) In walsh_transform_test (line 40) In run (line 91)]