Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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. Thanksss

Explanation / 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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote