이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
numerictype
고정소수점 또는 부동소수점 데이터형을 나타내는 embedded.numerictype
객체 생성
구문
설명
T = numerictype
은 디폴트 numerictype
객체를 만듭니다.
T = numerictype(
는 기울기 및 편향 스케일링, 부호 속성값 s
,w
,slopeadjustmentfactor
,fixedexponent
,bias
)s
, 워드 길이 w
, slopeadjustmentfactor
, fixedexponent
및 bias
를 갖는 고정소수점 numerictype
객체를 만듭니다.
T = numerictype(___,
를 사용하면 이름-값 쌍을 사용하여 속성을 설정할 수 있습니다. 값을 지정하지 않은 속성에는 모두 디폴트 값이 할당됩니다.Name,Value
)
T = numerictype(T1,
를 사용하면 속성값의 일부 또는 전부를 수정하면서 기존 Name,Value
)numerictype
객체 T
의 복사본 T1
을 만들 수 있습니다.
T = numerictype('Double')
은 double형의 numerictype
객체를 만듭니다.
T = numerictype('Single')
은 single형의 numerictype
객체를 만듭니다.
T = numerictype('Half')
는 half형의 numerictype
객체를 만듭니다.
T = numerictype('Boolean')
은 부울형의 numerictype
객체를 만듭니다.