How to see sample input data to MATLAB

7 Ansichten (letzte 30 Tage)
Masahiro
Masahiro am 9 Apr. 2023
Kommentiert: Masahiro am 5 Mai 2023
I would like to make a geobubble chart.
In this MathWorks website, the sample code read 'tsunamis.xlsx'.
How can I open 'tsunamis.xlsx' to see the table?
Since I am a beginner on MATLAB, I would like to check it.
  2 Kommentare
Peter Perkins
Peter Perkins am 9 Apr. 2023
If you have MATLAB, just run the code in the example using Copy Command. Leave the semicolon off of the readtable line, and you will see the table. Otherwise, open the example in MATLAB Online.
Masahiro
Masahiro am 5 Mai 2023
Thank you for your answer! This was helpful.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Gokul Nath S J
Gokul Nath S J am 18 Apr. 2023
Hi Masahiro,
Based on your query it seems, it seems that you would like to see the tsunamis.xlsx data. The following steps would ensure you to view the data
  • Copy the command 'openExample('graphics/DisplayTsunamiDataFromTableExample')' and paste it in the MATLAB Editor.
  • Run the file and make sure it ran without errors.
  • On the right side in the workspace, double click on the 'tsunamis' variable. A table will open up in the main window.
with regards,
Gokul Nath S J
  1 Kommentar
Masahiro
Masahiro am 5 Mai 2023
Thank you for your information. I solved my problem!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by