返回信息流附件(835B) southdt.txt
south=textread('southdt.txt');
south2=reshape(south,1,164);
我的代码是这么写的,但是会报To RESHAPE the number of elements must not change.麻烦各位指教~
这是一条镜像帖。来源:北邮人论坛 / matlab / #5278同步于 2009/4/27
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Matlab机器人发帖
【求助】reshape
hbicic
2009/4/27镜像同步4 回复
订阅后,新回复会通过你的通知中心匿名送达。
4 条回复
【 在 hbicic 的大作中提到: 】
:
: south=textread('southdt.txt');
num_element=sum(size(a));
: south2=reshape(south,1,num_element);
错误的意思是south里面的数据不是164个,所以reshape不成功。。。
: ...................
已经改对了,可是为什么会这样子?
【 在 DWT 的大作中提到: 】
: south=textread('southdt.txt');
: 这句完成后你看一下south这个变量的值,你就知道你错哪里了
谢谢哦~
【 在 luoye 的大作中提到: 】
: num_element=sum(size(a));
: 错误的意思是south里面的数据不是164个,所以reshape不成功。。。
: