convert base to base

2 次查看(过去 30 天)
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
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.

更多回答(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