Borrar filtros
Borrar filtros

Errors trying to save data to an excel file

2 visualizaciones (últimos 30 días)
Srikanta Sharma
Srikanta Sharma el 19 de Jul. de 2013
Hi There i am trying to save the data into an excel file, the code i am using is as follows and the error message is as follows.
filename = ('C:/Users/user/Desktop/test1.xlsx'); A = {'Mean','Max','Min','Std','Median';average;maximum;minimum;stde;med}; Error using vertcat Dimensions of matrices being concatenated are not consistent.
Could you please tell me what I am doing wrong here?

Respuesta aceptada

Iain
Iain el 19 de Jul. de 2013
{'Mean','Max','Min','Std','Median';average;maximum;minimum;stde;med};
tries to make a table like the following:
Mean, Max, Min, Std, Median
average
maximum
minimum
stde
med
Use ";" to separate rows. Use "," to separate columns.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by