I have an excel spreadsheet (that has 3 columns of data) I need to import it to
ID: 3921269 • Letter: I
Question
I have an excel spreadsheet (that has 3 columns of data) I need to import it to matlab but convert that excel file to a .dat file in matlab. So how do i change that file to a .dat on matlab because i will be using it to calculate stuff on matlab. Thanksss I have an excel spreadsheet (that has 3 columns of data) I need to import it to matlab but convert that excel file to a .dat file in matlab. So how do i change that file to a .dat on matlab because i will be using it to calculate stuff on matlab. Thanksss I need to import it to matlab but convert that excel file to a .dat file in matlab. So how do i change that file to a .dat on matlab because i will be using it to calculate stuff on matlab. ThanksssExplanation / Answer
%get the values in the Excel using xlsread. [num,txt,raw] = xlsread(filename,sheet,xlRange); %combine data as you want: AllData={txt;num};%as you want %save in mat file save(matfileName,'AllData');%In your matfile name
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.