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

1 次查看(过去 30 天)
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 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by