combing rows into one row

17 visualizaciones (últimos 30 días)
Viktoriya
Viktoriya el 1 de Dic. de 2022
Respondida: Stephan el 1 de Dic. de 2022
Hello, I have a matfile looking like that
I need to combine all the rows (excluding the 1st row and 1 column), I've tried to use num2cell and it doesnt work.
Does anyone know how to do that?

Respuestas (1)

Stephan
Stephan el 1 de Dic. de 2022
I assume you want to have all values in a row vector:
YouWant = reshape(MeanTemp(2:end,2:end),1,[]);

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by