フィルターのクリア

Convert 1x1x6381 double to 6381x1 double?

6 ビュー (過去 30 日間)
C Smyth
C Smyth 2018 年 4 月 25 日
編集済み: Stephen23 2018 年 4 月 25 日
I have a column of data in the form 1x1x6381 as seen in image but I want it in the form of 6381x1. So as 76.7309 76.5815 76.5777 etc.
Thanks
  2 件のコメント
Dennis
Dennis 2018 年 4 月 25 日
if A is 1x1x6381
B=reshape(A,size(A,3),1)
should do the trick
C Smyth
C Smyth 2018 年 4 月 25 日
Perfect! Thank You!!

サインインしてコメントする。

採用された回答

Stephen23
Stephen23 2018 年 4 月 25 日
編集済み: Stephen23 2018 年 4 月 25 日
If A is your array, then this will convert it into a column vector, regardless of its original size:
A(:)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by