orchis_2005 发表于 2007-4-26 16:20

求助:图形标注

标注text(x(1,2),y(1,2),'num2str(f(1,2))')时,
f(1,2))对应的值为小数,而我只想显示对应小数点前的数值,
该如何调整,谢谢!

eight 发表于 2007-4-26 16:25

T = NUM2STR(X,N) converts the matrix X into a string representation
    with a maximum N digits of precision.The default number of digits is
    based on the magnitude of the elements of X.


建议多使用matlab帮助
页: [1]
查看完整版本: 求助:图形标注