how to convert double .mat file to a column of numbers on excel

조회 수: 1 (최근 30일)
Giuseppe D'Amico
Giuseppe D'Amico 2020년 11월 24일
댓글: Mathieu NOE 2020년 11월 24일
Hi everyone, I have the following .mat file made up of data that I want to report in an excel column? how can i save this data in the form of numbers and not text in an excel file? is it possible to save both on a new excel file and on an existing excel file? Would anyone know how to help me?

답변 (1개)

Mathieu NOE
Mathieu NOE 2020년 11월 24일
hello
so this is a very basic code to load the data and store it as one column in an excel file.
I am not sure to understand what you mean by : how can i save this data in the form of numbers and not text in an excel file?
data = load('output_destazionalizzato.mat');
vector = (data.output_destazionalizzato)'; % transpose to make it column wise
xlswrite('file.xlsx',vector); % write in excel file
  댓글 수: 3
Mathieu NOE
Mathieu NOE 2020년 11월 24일
would you mind to "officialy" accept my answer ?
thanks

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

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by