In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how matlab reads txt text data, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
Matlab method to read txt text data: first open a txt file and keep the address of the folder; then use a textread function to replace the path of the txt file inside the function; finally, you can get the xy graphics by drawing.
The method of reading txt text data by matlab:
1. Open a txt file and we will find that it has both characters and values.
2. At this point, we delete all the characters, leaving only useful data values.
3. Remember the address of the folder, which will be used as a path for matlab reading.
4. At this time, a textread function is used to replace the path of the txt file inside the function.
5. The textread function is stupid and will read the data as 1 as a vector. We divide it into two columns, represented by x and y.
6. Finally, you can get the graph of xy by drawing, so this method is simple and effective.
Thank you for reading this article carefully. I hope it is helpful for everyone to share how matlab reads txt text data. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.