# Hari

**Statistics**

**MATLAB Answers**

**26** Questions

**0** Answers

RANK**118.657**

of 258.186

REPUTATION**0**

CONTRIBUTIONS

**26** Questions

**0** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**0**

RANK

of 17.794

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110.337

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

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...

ongeveer 13 uur ago | 1 answer | 0

### 1

answerQuestion

Minimum spanning tree of a graph

Does the minimum spanning treee algorithm in matlab provide all possible minimum spanning trees, if not unique?

1 dag ago | 0 answers | 0

### 0

answersQuestion

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...

16 dagen ago | 1 answer | 0

### 1

answerQuestion

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 : ...

10 maanden ago | 3 answers | 0

### 3

answersQuestion

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...

11 maanden ago | 1 answer | 0

### 1

answerQuestion

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 ...

11 maanden ago | 2 answers | 0

### 2

answersQuestion

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...

ongeveer een jaar ago | 0 answers | 0

### 0

answersQuestion

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 ...

ongeveer een jaar ago | 1 answer | 0

### 1

answerQuestion

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?

ongeveer een jaar ago | 0 answers | 0

### 0

answersQuestion

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...

meer dan een jaar ago | 2 answers | 0

### 2

answersQuestion

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....

meer dan een jaar ago | 3 answers | 0

### 3

answersQuestion

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 : ...

meer dan een jaar ago | 1 answer | 0

### 1

answerQuestion

Path between 2 nodes in a graph

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

meer dan een jaar ago | 2 answers | 0

### 2

answersQuestion

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...

ongeveer 5 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

ongeveer 5 jaar ago | 1 answer | 0

### 1

answerQuestion

About Preallocating for speed

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

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

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 ...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

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 ...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

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]...

meer dan 5 jaar ago | 1 answer | 0

### 1

answerQuestion

Matrix dimension error while trying to eliminate an element in cell array

I have written a function loop3 which calls a function kshortestpath (By Meral Sh.). kshortestpath finds k paths (as cell array...

meer dan 5 jaar ago | 0 answers | 0

### 0

answersQuestion

How to loop over a function again?

I have a pre-written function in matlab which is of the form : function [shortestPaths, totalCosts] = kShortestPath(netCostMat...

meer dan 5 jaar ago | 3 answers | 0