matlab中title引入变量 [转载]

      1. 三行标题it a= 1; b= 2; c = 3; d= 4;ab title( { 'Plot', ['a = ', num2str(a), 'b = ',num2str(b)], ['c = ', num2str(c),',d = ',... num2str(d) ] } ) Notice:有两点,一是title中引入中括号[ ],每对中括号表示一行;二是多行[ ]用{ }括
相关文章
相关标签/搜索