How can I load data from Excel file to Matlab in script and use the data loaded to calculate?
Show older comments
Hi guys, I am a newbie in Matlab and I am using Matlab for my thesis. I have an excel file contain data and I want to load these data into Matlab and therefore I can write programme to calculate using these data in Matlab. How can I do that? Can you show me the full code because I am so new to this. Thank you very much!
Answers (2)
MSU1=readmatrix('Relaxation data.xlsx','Range','A4:E82')%load the others following the same method
3 Comments
Newbie
on 28 Feb 2023
David Hill
on 28 Feb 2023
use readtable instead and assign variable names.
Newbie
on 28 Feb 2023
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!