function floatgui(callbackarg) %FLOATGUI Show structure of floating point numbers. % The set of positive model floating point numbers is determined % by three parameters: t, emin, and emax. It is the set of rational % numbers of the form x = (1+f)*2^e where f = (integer)/2^t, % 0 <= f < 1, e = integer, and emin <= e <= emax. % % IEEE 754 double precision has t = 52, emin = -1022, emax = 1023. % Initialize parameters if nargin == 0 t = 3; emin = -4; emax = 2; logscale = 0; else t = round(get(findobj('tag','t'),'value')); emin = round(get(findobj('tag','emin'),'value')); emax = round(get(findobj('tag','emax'),'value')); logscale = get(findobj('style','check'),'value'); end % Position figure window shg clf reset se
matlab floatgui
最新推荐文章于 2021-04-30 18:24:45 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)