Question


could anyone help me to solve the issue
I am having the following data: A=[ 0.1612 0.0803; 0.4179 0.2363; 0.3691 0.9943] and B{1,1}=[0.1227 0.91...

5 years ago | 1 answer | 0

1

answer

Question


Could anyone help me to solve the error in the following code
Code: particles=2 distances{1}=[1.8256 1.0045 1.8458; 1.8094 2.4613 2.0386; 0.4744 1.2151 0.7238; ...

5 years ago | 1 answer | 0

1

answer

Question


Could anyone help me to solve the issue.
code:The below code executes and gives the result. But i want to view swarm_pos for all particles in workspace. When I run the...

5 years ago | 1 answer | 0

1

answer

Question


Could anyone help me to solve the issue in the following code.
I posted this code already as i unable to get the output till now I am posting it again. code: iterations=2; particles=2; di...

5 years ago | 0 answers | 0

0

answers

Question


could anyone help me to solve the following issue.
I am having two different values of centroids generated randomly by the code to be 3 and 5 for 6 users. As a result i am gettin...

5 years ago | 1 answer | 0

1

answer

Question


could anyone help me how to avoid repetition of the same number of clusters
I am having totally 4 users in my system with respect to the following code: meas=[1 2; 3 4; 5 6; 7 8] particle...

5 years ago | 0 answers | 0

0

answers

Question


How to cluster the users based on the minimum distance with respect to the base station.
I have generated the code with respect to three users and computed the distance of three users with respect to the base station....

5 years ago | 0 answers | 0

0

answers

Question


could anyone help me to solve the issue.
i am having two users in a system lets say a,b The two users need to form the clusters based on the value generated by the code...

5 years ago | 0 answers | 0

0

answers

Question


Could anyone suggest me how to form the clusters based on the throughput value with respect to particle swarm formulation
I need to do user clustering based on particle swarm optimization. I developed the coding in which I have considered the swarm ...

5 years ago | 0 answers | 0

0

answers

Question


could anyone help me how to solve the issue.
The following code executes and gives the result. A = partitions(3); total_number_of_partitions = length(A) idx = randperm(to...

5 years ago | 1 answer | 0

1

answer

Question


could anyone help me how to solve the issue.
code: A=[ 12 11 10 9; 8 7 6 5; 4 3 2 1] B=[1 2 3 4; 5 6 7 8; 9 10 11 12] C= partitions(3) total = length(C) idx = randp...

5 years ago | 0 answers | 0

0

answers

Question


could anyone help me to solve the issue
I am having two different values generated in my code . A=10 and B=20.But i want to make A=20.Could anyone please help me on t...

5 years ago | 0 answers | 0

0

answers

Question


could anyone help me to solve the issue in the following code.
code: clear all; clc; X=[ 9 10 11 ; 5 6 7 ; 4 3 2 ] Y=[0.1 0 0.2 ; 0 0.3 0 ; 0 0.5 0 ] A = partitions(...

5 years ago | 0 answers | 0

0

answers

Question


Could anyone help me to solve the issue.
I am having 5 users whose initial_position are generated by the code itself and gives the value as follows: initial_position=1....

5 years ago | 1 answer | 0

1

answer

Question


could anyone help me how to generate three different values in a random manner for three users
I am having three users in the system Based on 3 users i need to generate different values of random variable r1 each for 1 u...

5 years ago | 0 answers | 0

0

answers

Question


How to add two different set values .
I ma having two different sets having the values in the following manner A={4} {5}{3) I want to add it together by having B=...

5 years ago | 1 answer | 0

1

answer

Question


Could anyone help me how to run the following code by assigning with respect to 4 users such that each user selection should be different
Code: User=1:4 A=partitions(3) N = length(A) idx = randperm(N,1) iwant = A{idx} when i run the code N will be 5. In my...

5 years ago | 1 answer | 0

1

answer

Question


could anyone help me to solve the issue for the following code.
code: i=1:3 for j=1:length(i) j=j+1 end the code excutes and give the output j = 2 j = 3 j = 4 could anyone h...

5 years ago | 1 answer | 0

1

answer

Question


Could anyone help me how to solve the issue.
how to add all the values generated using for loop for example A=[1 2],[3 4],[7 5 6] for i=1:length(A) value%...

5 years ago | 1 answer | 0

1

answer

Question


could anyone help me how to select the partitions in a random manner.
Code: X=[3]; A = partitions(X) partdisp(A) when i run the code it executes and gives the result in the following manner. A ...

5 years ago | 1 answer | 0

1

answer

Question


how to select the required value from among all values
If I am having the data as 1 2 3 4 5 9 6 6 12 6 3 9 10 11 21 . . . 4 6 ...

5 years ago | 1 answer | 0

1

answer

Question


Could anyone help me to solve the issue.
I tried with the following code and asked about the question already. As i am unable to get the answer i am asking it again. C...

5 years ago | 1 answer | 0

1

answer

Question


how to generate all the values within the range of 1:4.5
how to generate the decimal range of values within 1:4.5

5 years ago | 1 answer | 0

1

answer

Question


how to get the value of two variables with respect to fixed value.
could anyone help me how to get the values of two variables A and B under the condition A<B,such that the sum of A and B should...

5 years ago | 1 answer | 0

1

answer

Question


Could anyone help me to solve the following condition.
I have three expressions of which two expressions need to satisfy certain conditions; expression 1 C=A+B; A<B,C>B expresion 2...

5 years ago | 0 answers | 0

0

answers

Question


Couild anyone help me to count the number of nonzero elements present in each row of matrix
If i am having a matrix A=[1 0 2 0 3; 4 5 0 0 0; 3 9 0 0 1] I want to count the number of non zero elements in a row and it s...

5 years ago | 1 answer | 0

1

answer

Question


could anyone hep me to clear my doubt
In Particle swarm optimization for minimization, the global best is initialized to inf ; for maximization the global best is in...

5 years ago | 1 answer | 0

1

answer

Question


how to select the highest values form each column and set the other values to zero.
If A=[0.1290 0.2880 0.0193 0.2064 0.5245 0.5067 0.0255 0.2789; 0.2721 0.3500 0.0916 0.0913 ...

5 years ago | 1 answer | 0

1

answer

Question


can anyone help me to fix the issue
I am a having a matrixA=[1 2 3 4 5 6 7 8; 9 10 11 12 13 14 15 16; 17 18 19 20 21 22 23 24] I want to have a matrix such that ...

5 years ago | 1 answer | 0

1

answer

Question


how to extract the first three elements present in each row of a matrix
A=[0.7849 0.7472 0.6991 0.6754 0.5707 0.4462 0.3210 0.2955 0.1318; 0.9037 0.8296 0.7963 0....

5 years ago | 1 answer | 0

1

answer

Load more