Rayan Glus
Followers: 0 Following: 0
Feeds
提问
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...
2 years 前 | 0 个回答 | 0
0
个回答提问
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....
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 2 个回答 | 0
2
个回答提问
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(...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 0 个回答 | 0
0
个回答提问
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...
3 years 前 | 0 个回答 | 0
0
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
3 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to map points in Vector A with points in vector B?
Hi, I have two row vectors with the same size. A = randi(100,1,100); B = randi([101, 200],1,100); I want to have another ro...
3 years 前 | 1 个回答 | 0