Filter löschen
Filter löschen

if i have two matrix in different size how can i subtract it ??

2 Ansichten (letzte 30 Tage)
Firas Al-Kharabsheh
Firas Al-Kharabsheh am 20 Apr. 2016
Kommentiert: Azzi Abdelmalek am 20 Apr. 2016
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))

Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by