Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
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 Kommentare

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Rakesh Yadav Kodari
Rakesh Yadav Kodari am 17 Jan. 2019
Magnitudedata.RangeFrame = RangeFrame(15:end);

Weitere Antworten (0)

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by