Community Profile

photo

bala maths


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How to find sum of row vector and check this is equal to 0?
A = [0 1 0 0 0 1 ; 1 0 1 0 0 0 ; 0 1 0 1 0 0 ; 0 0 1 0 1 0; 0 0 0 1 0 1 ; 1 0 0 0 1 0]; B = [1; 2; 3; -3; -2; -1]; C = per...

2 years ago | 2 answers | 0

2

answers

Question


In the following in program, I want print only the resultant Matrix D which its sum is zero also their corresponding combinations Matrix E a using any conditional statements
A = [0 1 0 0 0 1 ; 1 0 1 0 0 0 ; 0 1 0 1 0 0 ; 0 0 1 0 1 0; 0 0 0 1 0 1 ; 1 0 0 0 1 0]; B = [1; 2; 3; -3; -2; -1]; C = perms...

2 years ago | 1 answer | 0

1

answer

Question


in the following MATLAB Programme, I want print the resultant Matrix D with two conditions i) D has exactly one Zero ii) D with exactly two pairs like as (-x, x) and (-y, y)
A = [0 1 0 0 1 ; 1 0 1 0 0 ; 0 1 0 1 0 ; 0 0 1 0 1 ; 1 0 0 1 0] B = [-1 -2 1 2 0]; C = perms (B); E=C D=C*A

2 years ago | 1 answer | 0

1

answer