matlab使用函数 reshape 错在哪?>> a=[1 2 3 45 6 7 89 10 11 12]a =1 2 3 45 6 7 89 10 11 12>> b=reshape(a,2,6)Index exceeds matrix dimensions.

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/09 08:23:49
matlab使用函数 reshape 错在哪?>> a=[1 2 3 45 6 7 89 10 11 12]a =1 2 3 45 6 7 89 10 11 12>> b=reshape(a,2,6)Index exceeds matrix dimensions.

matlab使用函数 reshape 错在哪?>> a=[1 2 3 45 6 7 89 10 11 12]a =1 2 3 45 6 7 89 10 11 12>> b=reshape(a,2,6)Index exceeds matrix dimensions.
matlab使用函数 reshape 错在哪?
>> a=[1 2 3 4
5 6 7 8
9 10 11 12]
a =
1 2 3 4
5 6 7 8
9 10 11 12
>> b=reshape(a,2,6)
Index exceeds matrix dimensions.

matlab使用函数 reshape 错在哪?>> a=[1 2 3 45 6 7 89 10 11 12]a =1 2 3 45 6 7 89 10 11 12>> b=reshape(a,2,6)Index exceeds matrix dimensions.
>> a=[1 2 3 4
5 6 7 8
9 10 11 12]
a =
1 2 3 4
5 6 7 8
9 10 11 12
>> b=reshape(a,2,6)
b =
1 9 6 3 11 8
5 2 10 7 4 12
我的可以正常运行啊,难道是版本问题?
我的QQ382101365