Hello everyone. I converted 4 into binary and got 100 . my problem is that i want to use this 100 as a decimal but the matlab is obviously treating it as a binary number. Please help
이전 댓글 표시
채택된 답변
추가 답변 (1개)
lvn
2014년 2월 28일
The following code gives you a decimal 100:
str2double(dec2bin(4))
카테고리
도움말 센터 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!