Convert data from weird to regular data

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
9 replies · 2K views
Nate Duong
Messages
125
Reaction score
4
Dear Group,

I have a 30_sec_data.txt with weird characters in it and data.txt with nice numeric in it,

Any one have any ideal to help me convert data from weird to regular data using Matlab.

Thank you,

Best regard,
 
Physics news on Phys.org
The file is probably not in UTF-8 format. Can you open it with Notepad++ and resave it?
 
  • Like
Likes   Reactions: Nate Duong
Borg said:
The file is probably not in UTF-8 format. Can you open it with Notepad++ and resave it?
Dear Borg,
I already tried with it but I can not get any number on the notepad++. Do you have any other ideals?

Thank you so much?
 
Without more details on the file, it's hard to say.

Nate Duong said:
Do you have any other ideals?
A small note. I've seen you type this wrong a lot. The word is "ideas", not "ideals". :smile:
 
Borg said:
Without more details on the file, it's hard to say.A small note. I've seen you type this wrong a lot. The word is "ideas", not "ideals". :smile:
sorry, English is my second language !
 
Nate Duong said:
sorry, English is my second language !
I understand. Just thought that you would want to know.
 
Borg said:
I understand. Just thought that you would want to know.
Thank you so much... :)
 
  • Like
Likes   Reactions: Borg
Borg said:
I understand. Just thought that you would want to know.

I found the files which I sent out, are uudecode format, but I've never heard about this format...

Have you ever heard about this format?
 
It seems that you have a binary file - Uuencoding. I don't know where you got it but it isn't a plain text file that you can read. It seems that you have a program file that happens to have a .txt name. There isn't anything there that you will be able to read.
 
Borg said:
It seems that you have a binary file - Uuencoding. I don't know where you got it but it isn't a plain text file that you can read. It seems that you have a program file that happens to have a .txt name. There isn't anything there that you will be able to read.
After decoding it, it might turn out to be just an ASCII text file. Then it should be easy to read. The wikipedia page you reference can help to decode it.
 
  • Like
Likes   Reactions: Nate Duong and Borg