Effacer les filtres
Effacer les filtres

I am trying to convert my data set into a chart.

1 vue (au cours des 30 derniers jours)
Marshall Harkrider
Marshall Harkrider le 31 Mai 2022
Commenté : Image Analyst le 31 Mai 2022
I have my data and the script I plan to run it through but I need to translate the data from a TXT file to a spreadsheet in MATLAB. I can't figure out how.

Réponses (1)

Star Strider
Star Strider le 31 Mai 2022
I am not clear on the reason for turning a text file into a spreadsheet, however readtable and writetable would be the funcitons I would use to first read it and then to write it as a spreadsheet file. Those will be certain to retain any column header information that might be in the text file. If there is no column header information, the readmatrix and writematrix functions would also work.
  5 commentaires
Star Strider
Star Strider le 31 Mai 2022
I do not see how the data are created and saved to a matrix or printed to an intermediate text file from the posted code.
Image Analyst
Image Analyst le 31 Mai 2022
@Marshall Harkrider, attach the text file, but only after you read this link:

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by