Lablepoints create name with variable

Hello,
simple question:
SNR =
-30 -15 0 15 30
I want:
SNR_Name =
'SNR = -30' 'SNR = -15'......
to put it in lablepoits function
how can I do it? strcat dont helps.

 Accepted Answer

SNR_Name = compose('SNR = %d', SNR)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!