I have an excel spreadsheet that has 3 columns of data I nee

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

Solution

%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
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

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site