The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: .txt to .mat file
Replies: 2   Last Post: Aug 11, 2014 8:06 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Barry Williams

Posts: 312
Registered: 6/14/06
Re: .txt to .mat file
Posted: Aug 11, 2014 6:50 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Shruti" wrote in message <lsa0df$ct2$>...
> Hey! I have a text file that has 2 columns with mixed data in each column. Column 1 and 2 both have numbers and letters. How do i convert this .txt file into a .mat file? Please help.

We need a little more to go on. How is the file delimited? Is there any sort of pattern to the positions of the text and numbers? What have you already tried to read it? The import functions in ML, or perhaps textscan? Perhaps you could post a small sample of the data.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.