From f16a2a9e1026b673cb2ca7d6799a7c813f350372 Mon Sep 17 00:00:00 2001 From: "Tseng,Juiyu" <39195562+dengfong01@users.noreply.github.com> Date: Thu, 20 Oct 2022 16:45:43 +0800 Subject: [PATCH] Update demo.m Wrong function name. --- demo.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo.m b/demo.m index 6f3ddaf..d390108 100755 --- a/demo.m +++ b/demo.m @@ -53,11 +53,11 @@ %% perform fast hybrid precoding algorithm - [FRFM, FBBM] = fast_hybrid_precoding_wrapper_OFDM( Fopt, NRF, 0 ); + [FRFM, FBBM] = fast_hybrid_precoding_OFDM_wrapper( Fopt, NRF, 0 ); for l = 1:L FBBM(:,:,l) = sqrt(Ns) * FBBM(:,:,l) / norm(FRFM * FBBM(:,:,l),'fro'); end - [WRFM, WBBM] = fast_hybrid_precoding_wrapper_OFDM( Wopt, NRF, 0 ); + [WRFM, WBBM] = fast_hybrid_precoding_OFDM_wrapper( Wopt, NRF, 0 ); %% Calculate the spectral efficiency @@ -85,4 +85,4 @@ set(ax1,'FontSize',fs); xlabel('SNR [dB]') ylabel('Spectral efficiency (bits/s/Hz)') -legend('Fast hybrid precoding algorithm', 'Location', 'northwest') \ No newline at end of file +legend('Fast hybrid precoding algorithm', 'Location', 'northwest')