GithubHelp home page GithubHelp logo

yang69 / mimo-ofdm-wireless-communications-with-matlab Goto Github PK

View Code? Open in Web Editor NEW
298.0 18.0 145.0 258 KB

MATLAB Code for MIMO-OFDM Wireless Communications with MATLAB | MIMO-OFDM无线通信技术及MATLAB实现

License: GNU General Public License v3.0

MATLAB 100.00%
mimo-ofdm-matlab ofdm-wireless-communications matlab mimo-ofdm wireless-communication

mimo-ofdm-wireless-communications-with-matlab's Issues

Error in line 85

Cattura

Matrix dimensions must agree.

Error in OFDM_basic (line 85)
Neb=Neb+sum(sum(de2bi(X_r,Nbps)~=de2bi(X,Nbps)));

I managed to find a workaround, you can find the corrected (working) file at this address:

[https://gist.github.com/andi-ra/34054a494054d6714f2a374f5738951f]

Everything seems working, feel free to reach if my solution is not correct. Thank you for that great book!!

Error in Line 13 of mapper.m file

function [modulated_symbols,Mod] = mapper(b,N)
% If N is given, it generates a block of N random 2^b-PSK/QAM modulated symbols.
% Otherwise, it generates a block of 2^b-PSK/QAM modulated symbols for [0:2^b-1].

% MIMO-OFDM Wireless Communications with MATLAB¢ç Yong Soo Cho, Jaekwon Kim, Won Young Yang and Chung G. Kang
% 2010 John Wiley & Sons (Asia) Pte Ltd

% http://www.wiley.com//legacy/wileychi/cho/

M=2^b; % Modulation order or Alphabet (Symbol) size
if b==1, Mod='BPSK'; A=1; mod_object=modem.pskmod('M',M);
elseif b==2, Mod='QPSK'; A=1;
mod_object=modem.pskmod('M',M,'PhaseOffset',pi/4);
else Mod=[num2str(2^b) 'QAM']; Es=1; A=sqrt(3/2/(M-1)Es);
mod_object=modem.qammod('M',M,'SymbolOrder','gray');
end
if nargin==2 % generates a block of N random 2^b-PSK/QAM modulated symbols
modulated_symbols = A
modulate(mod_object,randint(1,N,M));
else
modulated_symbols = A*modulate(mod_object,[0:M-1]);
end

Chapter 10 and Chapter 11 issues

Hello,

Some variables in some parts of the codes (Chapter 10 and Chapter 11) are not defined.
For example, the branch_metric in STTC_detector.m and y and H as the inputs to the functions in Chapter 11.
Could you please help with solving the issues?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.