if i have two matrix in different size how can i subtract it ??
1 次查看(过去 30 天)
显示 更早的评论
if i have
A =[ 0 1 0 0 0 0 0 0 0 0
0 1 0 1 0 1 0 0 2 0
3 1 1 2 1 1 4 2 1 5 ]
AND
X = [ 0 1 1 0 0 0 1 2 0 1
5 1 1 4 1 4 2 1 2 1 ]
how can i do this
z2 = abs(sum(M_column1 ~= M_column2))
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!