Answers for "element wise subtraction matlab"

0

element wise subtraction matlab

%Matlab thinks in Arrays, it means that the subtraction operation 
%works by default between two arrays (must be of same size and 
%same orientation)

A = [1 0; 2 4];
B = [5 9; 2 1];
C = A-B

C = 2×2

    -4    -9
     0     3
Posted by: Guest on October-16-2021

Code answers related to "element wise subtraction matlab"

Browse Popular Code Answers by Language