Community Profile

Hari

Last seen: 4 Tage vor Aktiv seit 2016

Statistics

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage

Finding neighbours of links in a graph
For a graph as shown below, how can I list the immediate neighbours as well as neighbours of neighbours of a link For example...

21 Tage vor | 1 Antwort | 0

1

Antwort

Frage

Incompatible indexing of variable for parfor
I have a variable Network which is a cell array of size 5x12. Each cell is 76x1 double. Inside the parfor loop, in every iterat...

2 Monate vor | 1 Antwort | 0

1

Antwort

Frage

Custom creation function for GA
The calling syntax for cutom creation function is function Population = myfun(GenomeLength, FitnessFcn, options) How can I ad...

2 Monate vor | 1 Antwort | 0

1

Antwort

Frage

Multiple population Genetic Algorithm
I am using the built in GA function for optimisation with customised creation, crossover, mutation and fitness functions. I have...

3 Monate vor | 2 Antworten | 0

2

Antworten

Frage

Deleting rows of a matrix based on values from another matrix
I have a m x 3 matrix A, and a nx1 matrix B. I need to remove those rows of A if either column 1 or 2 of the matrix equals any v...

5 Monate vor | 2 Antworten | 0

2

Antworten

Frage

Finding area of a graph
I have a graph and the coordinates of its nodes are known. Is there a matalb function to find the area of the graph?

6 Monate vor | 1 Antwort | 0

1

Antwort

Frage

Writing fitness function in multi objective GA
If I need to go for a multi objective optimisation in GA, how can I bring in the two objectives in a custom made fitness functio...

6 Monate vor | 2 Antworten | 0

2

Antworten

Frage

Minimum spanning tree of a graph
Does the minimum spanning treee algorithm in matlab provide all possible minimum spanning trees, if not unique?

6 Monate vor | 2 Antworten | 0

2

Antworten

Frage

Linking nodes using links in a graph based on information from another layer
Is it possible to work with layers in matlab? The first layer should contain the graph network with nodes and edges (which repre...

7 Monate vor | 1 Antwort | 0

1

Antwort

Frage

List of Node pairs
How can I get a matrix of node pairs from a graph? That is, if there are 4 nodes 1,2,3,4, then the node pair matrix would be : ...

mehr als ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage

Finding number of independent pathways in a graph
I want to find the number of independent pathways between each node pair in a graph. 2 pathways between a node pair is said to b...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

Multipying each element of a matrix with average of elements in other matrix
I have a 3x3 matrix(A) with all diagonal elements 0, and 3x1 matrix(B). I want to multiply each element of the 3x3 matrix using ...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage

Checking if an edge in a graph intersects other edges
I have a 2D undirected network created using graph function in matlab (using the coordinates of the nodes). I want to add some e...

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage

Checking if 2 edges in a graph are connected
I have plotted an undirected network using graph function in matlab. How can I check if 2 nodes in the network are connected by ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

Generating random planar graphs where nodes have fixed coordinates
Is there a matlab code to generate random planar graphs where the position of nodes is fixed and only link connections change?

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage

Euclidean distance for a graph
Is there an inbuilt function in matlab or a short cut which calculates the Eucliedan distance or crow fly distance between every...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage

Highlighting edges of a graph
How do I highlight specific edges of a graph? Let's say for the figure given below, I need to highlight the edges 9-16 and 8-15....

etwa 2 Jahre vor | 3 Antworten | 0

3

Antworten

Frage

Node Pair list from a graph
How can I get a matrix of node pairs from a graph? That is, if there are 4 nodes 1,2,3,4, then the node pair matrix would be : ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

Path between 2 nodes in a graph
How to check if a path exists between two nodes in a graph?

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage

Compiling matlab code for the cluster
I am using 2015b version of matlab on windows. I am planning to run my program on a high performance computer. The basic require...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

Updating x in fitness function
For a custom vectorised fitness function like this, FitnessFunction = @(x) my_fitness(x,a,b); I need to modify the value...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

What is a more efficient way of writing this code? NumberedOD = []; for a = 1:(N-1) for b = (a+1) :N Numbe...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

Genetic algorithm slowed down in the successive generations
I have customized the creation, crossover and mutation functions in Genetic algorithm. The program works without errors but the ...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

Specifying constraints for optimization using GA
For a customized GA optimization as in the Traveling Salesman Problem example in matlab documentation, how to specify the constr...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

Finding row index an element in cell array
How to find the row index of an element in a cell array if the cell array is non uniform like this: c= 1 [6,7] 6 7 7 ...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

Finding the indices of all minimum elements in a matrix
In Matlab, by the function min（）， one can get only one single minimum element of a matrix, even if there can be several equal mi...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

Passing extra input parameters for creation function in ga
How to add an extra input parameter to the creation function in genetic algorithm tool. I have read the documentation on passi...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

Customising creation function in GA optimisation tool
Bus route network design problem aims to find an optimal set of routes that satisfies a predefined objective and a set of constr...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

How to flip the individual elements in an array
I have a 3 x 1 cell array: [1,2,5] [1,2,4,5] [1,2,3,6,15,7] Is there a way to form a new cell array which includes...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

How to eliminate subset of paths?
I have a cell array of paths stored as a variable: [1,2,3,6,8,10] [1,2,4,6,8,10] [1,2,3,6,8,10,11] [1,2,4,6,8,10,11]...

etwa 6 Jahre vor | 1 Antwort | 0

Antwort