Community Profile

photo

Sandi Homolak


Last seen: 6 mois ago Active since 2022

Statistics

Content Feed

View by

Answered
How do I resolve these two lines separately?
Solved it. B=rand(3,5) A=[0 0 0 1 0;1 1 1 0 0;1 0 1 1 0] T=find(B<0.6 & A==1) Z=find(B<0.6 & A==0) A(T)=0; A(Z)=1;

5 mois ago | 1

| accepted

Question


How do I resolve these two lines separately?
So I have matrix A that is 3x5 and a matrix B with random values and same dimensions as matrix A. I want to find the elements i...

6 mois ago | 4 answers | 0

4

answers