数模论坛

 找回密码
 注-册-帐-号
搜索
热搜: 活动 交友 discuz
查看: 6678|回复: 1

请教matlab问题

[复制链接]
发表于 2006-2-1 07:46:23 | 显示全部楼层 |阅读模式
<>是对图像进行统计的一段程序:<BR>……(上面省略)<BR>t=0 ;<BR>for m=1:800<BR>for n=1:600<BR>        a=[m];b=[n];<BR>        gd(m,n,= impixel(x,a,b); <BR>        if gd(m,n,2)&gt;gd(m,n,1) &amp; gd(m,n,2)&gt;gd(m,n,3)<BR>           t=t+1   <BR>        end<BR>    end<BR>end</P>
<>执行结果:<BR>??? Assignment has more non-singleton rhs dimensions than non-singleton<BR>subscripts.</P>
<>请问是怎么回事? 怎么解决? 谢谢!<BR> <BR>  </P>
发表于 2006-2-2 20:14:47 | 显示全部楼层
<> gd(m,n,= impixel(x,a,b); <BR>估计是这里出了点问题!</P>
<>应该说 这儿的矩阵运算出了点问题 '<FONT color=#ee1196><U> :</U></FONT> '</P>
您需要登录后才可以回帖 登录 | 注-册-帐-号

本版积分规则

小黑屋|手机版|Archiver|数学建模网 ( 湘ICP备11011602号 )

GMT+8, 2024-5-8 22:19 , Processed in 0.051463 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表