Before going through this post please read LoRa Decoding
Code compares the performance of LoRa spreading factors for bandwidth 125kHz. It generates BER vs SNR curves.
For theoretical Bit Error Rate or LoRa performance please visit: LoRa: Performance analysis
Pay just $20 Dollars and buy the Matlab codes to generate performance comparison of LoRa SF and end to end simulation
Buy the Matlab codes here!
Code generates the following plots.