I need to create a text file using numeric data (a basic 4x4 matrix). (I'm very new to this)
Show older comments
I really need to get [10 5 7 9; 11 8 0 5; 17 34 67 89; 87 54 32 98] as a text file named mydata.txt in the current directory and then use the "load' function to read the file and create a variable named mydata containing that matrix.
1 Comment
The MATLAB documentation is really good: it has clear explanation and working examples:
Have you made any attempt to solve this simple task yourself? If we do your homework for you, do we get the course grades as well ?
Accepted Answer
More Answers (0)
Categories
Find more on Text Files 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!