How to save X, Y coordinates from different cells in multiples files
Show older comments
Hello Everyone, I have 100 cells for each X and Y cordinates, and in every cell I have 234 values.
I want to save each SX cell with its corresponded SY cell into same text, which means i total i will have 501 files in this case.
for example:
SX{1,1} and SY{1,1} values, into same text file with 2 colones:
4 2
4 6
8 3
7 4
Thanks
Answers (1)
Let SX and SY be your cells.
iwant = [ [SX{:}] [SY{:}]] ;
Also read about Cell2mat, cat.
Categories
Find more on Cell Arrays 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!