Lablepoints create name with variable

2 views (last 30 days)
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

madhan ravi
madhan ravi on 4 Jul 2020
SNR_Name = compose('SNR = %d', SNR)

More Answers (0)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!