I have Mixed data frame of HEX and ASCII as give below, 4 digits from third chracter in the data belongs to HEX and from 15th digit until N(we dont know how long is the data) belongs to ASCII. I want to convert only them to Binary. Please help me

4 visualizzazioni (ultimi 30 giorni)
The dataframe is :
!R010000000000cskYB<YFSFMB>>685,0*,)'*,,(+*)(()))(*((()**())**(()((()'((*((-..**,,?MKct?}rqGTL<kz???otj?ly{ql^UZBPRCBKI@9-5<9,96)//+-0+(0/*)()*/*+*),,,4--SXI]R53<8B?:,6BPSN,79?-ODNIAIOM\S_K.MOKK5DDBNUIF.667A:.<469/502*44/*1.//E?4/2+*((,25:C>)*.**.(**(-3.+-/-,)*)+,
I tried to divide as follow :
Size.RangeFrame = RangeFrame(3:6);
Magnitudedata.RangeFrame = RangeFrame(15:N); % It is not working ( How can i say from 15th char until end ?)
  3 Commenti

Accedi per commentare.

Risposta accettata

Rakesh Yadav Kodari
Rakesh Yadav Kodari il 17 Gen 2019
Magnitudedata.RangeFrame = RangeFrame(15:end);

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by