Community Profile # Rayan Glus

Last seen: 7 months ago Active since 2021

#### Statistics

• • #### Content Feed

View by

Question

How to create a graph object with source and target vectors having zero labels?
Hi, I am using a real network data from stanford SNAP webpage. Some of the nodes are labeled zeros, so I got the following err...

8 months ago | 0 answers | 0

### 0

Question

How can I separate the elements of a vector ?
Hello, I have a row vector i of size say 1x300 and that its indices can be any number of the range [1 5] in a descending order....

8 months ago | 2 answers | 0

### 2

Question

How can I find the index of a specific element in an array
I have a vector T of size 1 by 30. The values of its elements start from zero and go to a maximum value and then decay back to z...

1 year ago | 2 answers | 0

### 2

Question

Is it possible to calculate the maximum flow in undirected graphs?
Hello, I have constructed an undirected graph G and I want to calculate the maximum flow of it. I tried this: G = graph(true(...

1 year ago | 0 answers | 0

### 0

Question

How can I generate a square lattice undirected graph?
Hi, How can I generate a square lattice undirected graph? I tried this: n = 10; A = delsq(numgrid('S',n+2)); G = graph(A,'om...

1 year ago | 1 answer | 0

### 1

Question

How to solve this problem " The specified superclass 'CyclicLatticeTopology' contains a parse error"?
I get this error whenever I try to run the following code which I found on FileExchange: The specified superclass 'CyclicLattic...

1 year ago | 0 answers | 0

### 0

Question

How can I expedite the speed of this code?
Hello, I found a nice code for generating Scale Free networks (Barabasi Algorithm) on File Exchange but it's slow specially whe...

1 year ago | 0 answers | 0

### 0

Degree and influence of line of a node in network
D = degree(G, node)

1 year ago | 0

Question

Is there a more efficient way to compute this other than using a loop ?
Hello, Say, vectors a and b have different sizes. I wonder if there is a simpler and more efficient way of writing the lines be...

1 year ago | 1 answer | 0

### 1

Question

How to find all the edges connecting a specific node with other nodes?
Hi, Let G be an undirected graph of 1000 nodes. How can I find all the edges of a specific node? I cannot pass the node's ID ...

1 year ago | 2 answers | 0

### 2

Question

How to map points in Vector A with many points in vector B?
Hi, I have two row vectors with the same size. A = randi(100,1,100); % Elements of A represent cities B = randi([101, 200],1...

2 years ago | 1 answer | 0