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.

 채택된 답변

Image Analyst
Image Analyst 2022년 7월 27일

1 개 추천

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

Gabriel
Gabriel 2022년 7월 27일
I tried all of these options but it just says invalid use of operator.
Gabriel
Gabriel 2022년 7월 27일
I figured it out, thank you!

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

추가 답변 (0개)

카테고리

질문:

2022년 7월 27일

댓글:

2022년 7월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by