MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]请问matlab中矩阵的相关计算! (https://www.labfans.com/bbs/showthread.php?t=5532)

vagrom 2008-11-29 08:35

[求助]请问matlab中矩阵的相关计算!
 
a=[ 3 4 25 ; 3 8 34; 3 4 12; 1 8 30 ; 3 8 34 ; 3 4 14]; 第一维是x,第二维是y,后面是灰度值,怎样不用循环,把相同的x和y的灰度值叠加起来?a是个例子,比如第一行和第三行就应该叠加起来,得到 3 4 37 .多谢!

tomasso 2009-01-05 17:06

回复: 请问matlab中矩阵的相关计算!
 
同关注中:lol:


所有时间均为北京时间。现在的时间是 12:15

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.