How can i use a variable in my text(...) - command?

조회 수: 1 (최근 30일)
Philipp Mueller
Philipp Mueller 2017년 1월 3일
댓글: Philipp Mueller 2017년 1월 3일
Hi,
ymax_woehler is a variable with the value 30. How can i use this variable in my text(...)-command? With num2str(ymax_woehler)?
text(20,18,'\sigma_{a,1}= ymax_woehler')
Thank you.

채택된 답변

José-Luis
José-Luis 2017년 1월 3일
text(20,18,['\sigma_{a,1}=', num2str(ymax_woehler)])

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by