MATLAB Answers

Lablepoints create name with variable

조회 수: 1(최근 30일)
Nik Rocky
Nik Rocky 4 Jul 2020
댓글: Nik Rocky 4 Jul 2020
simple question:
-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.

채택된 답변

madhan ravi
madhan ravi 4 Jul 2020
SNR_Name = compose('SNR = %d', SNR)
  댓글 수: 1
Nik Rocky
Nik Rocky 4 Jul 2020
You make my life better, thank you!

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by