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
1 view (last 30 days)
Show older comments
Rakesh Yadav Kodari
on 16 Jan 2019
Answered: Rakesh Yadav Kodari
on 17 Jan 2019
The dataframe is :
!R010000000000cskYB<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 ?)
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!