reading the data with title
3 views (last 30 days)
Show older comments
I have a text file with title , I want to add a new column that replicate the header as per column length
I want to have final matrix
1 2 3 cat
3 4 5 cat
5 6 7 cat
4 Comments
Rik
on 9 Nov 2021
Since you don't really need to parse the values, it makes more sense to me to read as text.
Also, what exact syntax did you use?
See Also
Categories
Find more on Environment and Settings 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!