I have a data set that was created in an excel sheet and then downloaded to my computer. I am trying to analyze that data using MATLAB but I am not sure how to open the data in MATLAB.

 Akzeptierte Antwort

Image Analyst
Image Analyst am 27 Jul. 2022

1 Stimme

It depends on the format of the data file. Some things to try
data = readmatrix(fileName);
data = readcell(fileName);
data = importdata(fileName);
[data, strings, raw] = xlsread(fileName);

2 Kommentare

Gabriel
Gabriel am 27 Jul. 2022
I tried all of these options but it just says invalid use of operator.
Gabriel
Gabriel am 27 Jul. 2022
I figured it out, thank you!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Gefragt:

am 27 Jul. 2022

Kommentiert:

am 27 Jul. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by