繁体   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