combing rows into one row

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?

回答 (1 件)

Stephan
Stephan 2022 年 12 月 1 日

0 投票

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

カテゴリ

質問済み:

2022 年 12 月 1 日

回答済み:

2022 年 12 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by