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 次查看(过去 30 天)
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 个评论

请先登录,再进行评论。

采纳的回答

Rakesh Yadav Kodari
Magnitudedata.RangeFrame = RangeFrame(15:end);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by