Community Profile

# Asyran Abdullah

Last seen: 1 year ago Active since 2018

All

#### Content Feed

View by

Question

Make all point connected to other points.
Hi, i want to make all point has a connection to other with the following code. x = [6 3 5 4 7 8]; idx = randperm(leng...

3 years ago | 0 answers | 0

### 0

Question

Find the shortest distance in cluster group.
Hi, i have a group of cluster, and the information of source and destination node. How can i find the shortest distance to the d...

3 years ago | 1 answer | 0

### 1

Question

Insert multiple vector into single data.
Hi, i have some problem here, how can i add multiple data into "node(i).dist ". Here is the code. for i = 1:1:numNodes ...

3 years ago | 0 answers | 0

### 0

Question

Issue with && in matrix operation.
Hi, i have a problem with the && operators, which it cannot operate the following code: i = noTier1 + 1; while i ~= (num...

4 years ago | 2 answers | 0

### 2

Question

How to perform arithmetic operation in pdist?
Hi, i need some advice for solving the error of using squareform, Assignment has more non-singleton rhs dimensions than no...

4 years ago | 2 answers | 0

### 2

Question

How to solve issue of "Error using horzcat"?
Hi, i have 1 problem as follow: Error using horzcat Dimensions of matrices being concatenated are not consistent. ...

4 years ago | 1 answer | 0

### 1

Question

Matlab error for "Assignment has more non-singleton rhs dimensions than non-singleton subscripts".
Hi, i have error of "Assignment has more non-singleton rhs dimensions than non-singleton subscripts". Error in Untitled10 ...

4 years ago | 1 answer | 0

### 1

Question

How to convert the X & Y value in a matrix format?
Hi, Given X and Y as follow: area_length = 100; area_width = area_length ; x = round((area_length - 1) * (rand - 0...

4 years ago | 2 answers | 0

### 2

Question

How to add weights in line
There already has a line between nodes. How can i add a weights in line to perform a shortest path? if ~(length(list_biasa...

4 years ago | 0 answers | 0

### 0

Question

How to determine shortest path to the CH?
Hi, i need some help, how to build the edge in random nodes and determine the shortest path to CH as following figure. <</ma...

4 years ago | 0 answers | 0

### 0

Question

Is it possible to use the shortest path to find a route to the cluster center (k-means)?
Hi, I tried to make some modifications in the k-means clustering, using the shortest path(based on weights) to find the center...

4 years ago | 1 answer | 0

### 1

Question

How to determine number of edges ?
Hi, below is the code for shortestpath: %code A = randi(1,8) ; D = graph(A); D.Edges.W3 = randi(13, numedges(D), 1);...

4 years ago | 1 answer | 0

### 1

Question

How to find all possible path to destination?
Hi, The clusterhead is already selected based on the distance value. However there is a problem to make connect a node to th...

4 years ago | 1 answer | 0

### 1

Submitted

Simple finding shortest path
Use to find shortest path between node by random weight.

Question

How to make a line between random nodes connection ?
Hi guys, How to make a connection between random nodes and select 1 of them as a cluster head? numNodes=10; p = rand...

4 years ago | 1 answer | 0

### 1

Question

Changing static node to random distribution node.
How to change the node into random distributed node as following code. % code rand('seed',123456); x = [1 1 1 1 1...

4 years ago | 1 answer | 0

### 1

Question

Finding shortest path on random node distributed.
Hi all, I have a problem to finding a shortest path in a random node distributed. Here is my code: % code r...

4 years ago | 1 answer | 0