dec
fi
객체의 저장된 정수에 대한 부호 없는 10진수 표현
설명
예제
fi
객체의 저장된 정수를 부호 없는 10진수 형식으로 보기
값이 -1
과 1
이고, 워드 길이가 8비트이고 소수부 길이가 7비트인 부호 있는 fi
객체를 생성합니다.
a = fi([-1 1], 1, 8, 7)
a = -1.0000 0.9922 DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 8 FractionLength: 7
fi
객체 a
의 저장된 정수에 대한 부호 없는 10진수 표현을 구합니다.
b = dec(a)
b = '128 127'
입력 인수
a
— 입력 배열
fi
객체
입력 배열로, fi
객체로 지정됩니다.
데이터형: fi
버전 내역
R2006a 이전에 개발됨
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)