Borrar filtros
Borrar filtros

convert base to base

2 visualizaciones (últimos 30 días)
Mohammad Imam Malik
Mohammad Imam Malik el 29 de Mayo de 2017
Comentada: Mohammad Imam Malik el 29 de Mayo de 2017
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 comentarios
Jan
Jan el 29 de Mayo de 2017
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 el 29 de Mayo de 2017
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,

Iniciar sesión para comentar.

Respuesta aceptada

Stephen23
Stephen23 el 29 de Mayo de 2017
Editada: Stephen23 el 29 de Mayo de 2017
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 comentario
Mohammad Imam Malik
Mohammad Imam Malik el 29 de Mayo de 2017
thanks i try to undertstood this post

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by