簡體   English   中英

八度到Matlab,使用==> vertcat出錯,CAT參數尺寸不一致

[英]Octave to Matlab, Error using ==> vertcat, CAT arguments dimensions are not consistent

我很少遇到麻煩,因為我工作的頻率是八度,但是有效,但是當我嘗試在Matlab中運行時,我得到了錯誤:

The expression on this line will generate an error when executed.  The error will be:     Error    using ==> vertcat
CAT arguments dimensions are not consistent.

??? Error using ==> encuentraPares at 15
Error using ==> vertcat
CAT arguments dimensions are not
consistent.

遇到問題的代碼是:

   matrizJugadas = [ 
        '1'   '2'   '3' ; 
        '4'   '5'   '6' ; 
        '7'   '8'   '9' ;
        '10'  '11'  '12'
   ];

有什么麻煩嗎?

謝謝!!。

這是6個元素:

[ '10'  '11'  '12' ]

相當於

'101112'

並且

[ '1' '0' '1' '1' '1' '2' ]

但這只有3個元素寬:

[  '1'   '2'   '3' ]

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM