www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgprec/phys2hw.m
function HWValues = phys2hw(Prec, PhysValues) %PHYS2HW Convert physical values to hardware values. % % HWValues = PHYS2HW(POLYFIXPREC, PhysValues) converts physical values % PhysValues to hardware values HWValues. The mapping used between the % two values is defined by the class of precision object. % % See also CGPREC/HW2PHYS, CGPREC/RESOLVE. % Copyright 2005-2006 The MathWorks, Inc. and Ford Global Technologies, Inc. HWValues = PhysValues;