MATLAB Answers

How to save X, Y coordinates from different cells in multiples files

4 ビュー (過去 30 日間)
Tesla 2020 年 9 月 17 日
編集済み: Tesla 2021 年 7 月 25 日
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

回答 (1 件)

KSSV 2020 年 9 月 17 日
編集済み: KSSV 2020 年 9 月 17 日
Let SX and SY be your cells.
iwant = [ [SX{:}] [SY{:}]] ;
Also read about Cell2mat, cat.
  1 件のコメント
Tesla 2020 年 9 月 17 日
Thanks, but I didn't understand how to use that to solve my issue



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by