trdean1/mimo_decoding ? reverse-engineered prompt
Reverse engineered prompt
Build me a small MATLAB project for experimenting with basic MIMO decoding.
I want scripts that can simulate both real and complex MIMO channels, test a few simple decoders, and compare their performance. For the real case, use MPAM style constellations, and for the complex case use MQAM. Include full maximum likelihood decoding where it makes sense, plus a sphere decoder for square channels. If the antenna count gets too large, it’s fine to skip the brute force ML step and use the cheaper methods instead.
Also include a simple least squares channel estimator, a basic Jakes fading model for time varying SISO channels, and a helper to generate constellation points with a cartesian product. Keep it straightforward and easy to run so I can tweak parameters and see how the different decoders behave. If you need to check current MATLAB function details online, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit