How to see sample input data to MATLAB

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.

댓글 수: 3

Peter Perkins
Peter Perkins 2023년 4월 9일
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 2023년 5월 5일
Thank you for your answer! This was helpful.
You can save it in a new var with the save command.

댓글을 달려면 로그인하십시오.

답변 (1개)

Gokul Nath S J
Gokul Nath S J 2023년 4월 18일

1 개 추천

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

Masahiro
Masahiro 2023년 5월 5일
Thank you for your information. I solved my problem!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

질문:

2023년 4월 9일

댓글:

2024년 11월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by