Liverpoololympia.com

Just clear tips for every day

Blog

How do you add a variable to a string in MATLAB?

How do you add a variable to a string in MATLAB? How do I put variable values into a text string for Legend figure. plot(Ratio,Final_1,’k-x’,’linewidth’,2) grid on. legendInfo = [‘SNR target for BER 10^’ num2str(x)]; legend(legendInfo,’Location’,’southeast’) xlabel(‘Ratio’) ylabel(‘SNR’) How do Read more…