Community Profile

photo

Danial Lashgari


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Is this works in Matlab?! K = (N==INFECTED_A1) + (E==INFECTED_A1) + (S==INFECTED_A1) while INFECTED_A1=1. How can I get K=3?!
Hi all I have 8 variables are named N,E,S, et.c. And an INFECTED_A2 = 1 variable; N,E,S ... get their values from some other p...

8 years ago | 2 answers | 0

2

answers

Question


How can I store [row,col]= find(X==a) results in a N*2 matrix ?!
How can I store [row,col]= find(X==a) results in a N*2 matrix ?! I have a 100x100 matrix and I want to store the indices(i,j) o...

8 years ago | 1 answer | 0

1

answer