matlab小数分数转换

>> format short      %%%% MATLAB默认格式,小数显示

>> format rat    %%%%% 转成分数表示

转载于:https://www.cnblogs.com/wxl845235800/p/9058036.html