Clear Filters
Clear Filters

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 views (last 30 days)
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 Comments

Sign in to comment.

Accepted Answer

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

More Answers (0)

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!