Counting by 10 in a Text File
1 次查看(过去 30 天)
显示 更早的评论
Hey I need some help creating a code that is able to read a string in a text file and pull every 10th,20th,30th,40th,and so on and so forth. So I am currently trying to use the size function but isn't quite working.Also, for example the text file I am using has data points under different labels such as A, B, C, or D with 200 hundred of each. So I want to get every 10th B in the text file. Any suggestions?
2 个评论
Image Analyst
2012-2-18
Isn't this the same as http://www.mathworks.com/matlabcentral/answers/29464-counting-by-10 ????
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!