Community Profile

##### Last seen: ongeveer een maand ago
13 total contributions since 2014

View details...

Contributions in
View by

Same number of columns, but getting "Dimensions of arrays being concatenated are not consistent" error
Hi Liam, Your two arrays should have the same number of rows when you use horzcat. d=[1;2;3;4;5;6;7]; f=[3;4;5;6;7;8;9]; hor...

ongeveer 2 maanden ago | 0

if condition for counting
B=randi(10,1,815); idx=find(B>4); B(idx);

2 maanden ago | 0

Question

How can I find the Members of the largest component of a graph?
I'm trying to find the members of the largest component of a graph that I added names to it's nodes, however my code below doesn...

3 maanden ago | 1 answer | 0

### 1

Question

How to prevent the function rmnode from refreshing the nodes' labels?
I have a graph G which consists of 20 nodes, and I'm selecting a random node and remove it from the graph using rmnode. At each ...

3 maanden ago | 1 answer | 0

### 1

Question

How to make nodes' removal from a graph as a function of time?
Hello, I'm simulating failures of nodes in an interdependent system (two graphs, g and h) and their adjacency matrices are A a...

3 maanden ago | 1 answer | 0

### 1

Question

How can I call multiple M functions?
Hello guys, I'm trying to run the function "WattsStrogatz" 100 times and in each iteration I want to run the function "Test_Hea...

5 maanden ago | 1 answer | 0

### 1

Question

Sum the elements of row vectors
Hi, How to let my code in every simulation run to check the sum of two row vectors and change some of the elements' values of t...

5 maanden ago | 1 answer | 0

### 1

Question

How to avoid an Infinite Loop?
Hi, I'm encountering an infinite loop problem. I tried to debug my code but couldn't figure it out, so I would appreciate your...

6 maanden ago | 1 answer | 0

### 1

Question

Calling a function multiple times in a for loop.
Hi, I'm calling my function function psiA=test_M(rmv) multiple times, and I'm passing different input arguments each time. ...

6 maanden ago | 1 answer | 0

### 1

Question

Executing the body of IF statement.
Hi, Why MATLAB is not executing the body of the following selection if statement eventhough I believe the condition is true? Yo...

6 maanden ago | 1 answer | 0

### 1

Question

How to build links between two graphs on the same figure?
Hi, I am encountering a problem trying to simulate interdependent systems (graphs), I constructed and built two different graph...

7 maanden ago | 1 answer | 1

### 1

Question

how can I convert a double image into gray unit8 image?
Lets say that we have a 256x256 double image, how can we convert it into a 256x256 uint8?

meer dan 4 jaar ago | 2 answers | 0