フィルターのクリア

Reshape 3 dimensional data in Matlab

3 ビュー (過去 30 日間)
khan
khan 2017 年 1 月 4 日
回答済み: Walter Roberson 2017 年 1 月 4 日
i have climatic data in the form of x*y*time; i reshaped the data using data1 = reshape(data,[],t); which produced 50400x73; the orignal format was 180x280x73. after replacing the nan values and running my code. i still have the same data as 50400x73. i tried reshaping using reshape(data,[180,280]). but its not working and showing the error [Error using reshape To RESHAPE the number of elements must not change.]
any idea how to reshape the data back to above shape. thanks

採用された回答

Walter Roberson
Walter Roberson 2017 年 1 月 4 日
reshape(data, 180, 280, [])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeClimate Science and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by