필터 지우기
필터 지우기

convert base to base

조회 수: 2 (최근 30일)
Mohammad Imam Malik
Mohammad Imam Malik 2017년 5월 29일
댓글: Mohammad Imam Malik 2017년 5월 29일
Hallo guys i want convert base N to base M , i can convert that now , but my problem , i can not convert input to base i want couse like A = 10, B = 11,etc string but the other nummber. i know i am dummy to ask something like that. i already read another post about it but i cant find a solution of my problem .
  댓글 수: 2
Jan
Jan 2017년 5월 29일
Please explain this sentence in clear words:
i can not convert input to base i want couse like A = 10, B = 11,
etc string but the other nummber
Mohammad Imam Malik
Mohammad Imam Malik 2017년 5월 29일
sorry i cant use base2base or hex2dec , something like that, i can only use mod . so if input string like in hex FFF , i need read that in nummber and if in okt 8 = 10 , something like that,

댓글을 달려면 로그인하십시오.

채택된 답변

Stephen23
Stephen23 2017년 5월 29일
편집: Stephen23 2017년 5월 29일
Download John D'Errico's excellent FEX submission base2base:
Note that the input Nstart is NOT a numeric value, but a vector of digits.
  댓글 수: 1
Mohammad Imam Malik
Mohammad Imam Malik 2017년 5월 29일
thanks i try to undertstood this post

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by