Question

could anyone help me how to remove the zeros that comes after the number present after the decimal

how to display the matrix by removing the zeros that comes after the number. [ 0 0.5800 1.3300 2.5300 2.1200 ...

7 months ago | 1 answer | 0

Question

Could anyone help me how to group the maximum distance data points into clusters.

A is a matrix that contains the location of data points A= [8.1 1.7; 3.9 7.4; 7.7 3.6; 9.2 ...

7 months ago | 0 answers | 0

Question

could anyone help me how to choose the minimum and maximum values equally

code: A= [1.6992 1.5107 1.6426 2.6664 2.7159 2.7833 0.7849 0.4077 0.3900 1.0745 1.0196 1...

7 months ago | 0 answers | 0

Question

Could anyone suggest me is there any way of choosing maximum and minimum values together

A = [23 42 37 18 52]; With respect to command M = max(A) gives 52 min(A) gives 18 Is there any way so that i can get both 52 ...

7 months ago | 3 answers | 0

Question

could anyone help me to solve the error in the following code.

code: load fisheriris.mat clust = zeros(size(meas,1),6); for i=1:6 clust(:,i) = kmeans(meas,i,'emptyaction','singleton',... ...

8 months ago | 0 answers | 0

Question

could anyone help me how to update the array values with respect to the following arrays

A= [1.0119 1.6739; 2.8012 1.6381; 0.0752 0.1222; 1.3143 0.8189; 0.7956 0.8750; 1.8512 ...

8 months ago | 2 answers | 0

Question

could anyone help me how to frame the matlab code with respect to the expression

Values: i=4,j=2 Expression:

8 months ago | 1 answer | 0

Question

Could anyone help me how to change the values in array

I ma having two array A=[1 2 3 4 5 6]; B=[1 2]; I want to change the values present in rows o...

8 months ago | 1 answer | 0

Question

could anyone help me how to have identical values of all the rows one by one.

I am having (3,2) matrix such that each row has two columns with different values. I want to have all the rows to be identical ...

8 months ago | 0 answers | 0

Question

Could anyone help me how to have all rows of matrix to be similar.

A=[1 2; 3 4; 5 6] I want to make all rows of the matrix to be the same in the following manner [1 2; 1 2; 1 2] o...

8 months ago | 0 answers | 0

Question

Could anyone help me to have similar cluster centers in PSO

PSO aims in attaining the different clusters centers for each cluster suct that the distance between the centroids location and ...

8 months ago | 1 answer | 0

Question

could anyone help me how to have the same values for all the three clusters with respect to the code shown below.

code: clear all; clc; PPP=[2.6917 0.3600; 1.6045 0.5565; -0.8608 0.8706; 1.3589 0.4763] particles ...

8 months ago | 0 answers | 0

Question

could anyone help me how to run the python script in matlab

python script: ## Generate all partitions to solve k-means anticlustering ## to optimality. N <- 14 K <- 2 features <- ma...

8 months ago | 0 answers | 0

Question

could anyone help me how to verify the standard deviation of matrix

A=[1 4 2] when i used the command std(A) i am getting the result to be 1 5275. But when i calculate manually i am getting diff...

8 months ago | 2 answers | 0

Question

could anyone help me how to run the code with respect to different matrices

code: a=max(B) b=max(a) for i=1:size(B,1) bbb= 1:b bb= B(i,1:2) bbbb= setdiff(bbb,bb) BB(i,:)= [bb,bbbb] end when i r...

8 months ago | 0 answers | 0

Question

Could anyone help me how to group into 4 sets.

I ma having a matrix A=[2 3 1 4 5 6] i used the command NN = num2cell(num2cell(A),2) ,which gives the...

8 months ago | 1 answer | 0

Question

Could anyone help me how to get different cell size.

A= [1 2 3 4 5 6; 1 3 2 4 5 6; 1 4 2 3 5 6; 1 5...

8 months ago | 0 answers | 0

Question

could anyone help me how to group the numbers into sets

BB =[1 2 3 4 5 6; 1 3 2 4 5 6; 1 4 2 3 5 6; 2 ...

8 months ago | 3 answers | 0

Question

Could anyone help me how to store the result together in single matrix.

code: B=[1 2; 1 3; 2 5; 2 4; 3 5; 4 6; 4 5] for i=1:7 bbb=...

8 months ago | 1 answer | 0

Question

could anyone help me how to display all the numbers inaddition to the numbers present.

I a having a system with maximum number of users to be 6. A =[1 2; 1 3; 2 5; 2 4; 3 ...

8 months ago | 2 answers | 0

Question

Could anyone help me to solve the issue.

I am having matrix A=[1 2; 2 3; 2 4] when i use the command NN = num2cell(num2cell(A),2) partdi...

9 months ago | 2 answers | 0

Question

could anyone help me to solve the issue

AA=4 I am having matrix as below A=[2 3; 1 4; 2 4; 3 4] with respect to first row out of fo...

9 months ago | 1 answer | 0

Question

Could anyone help me to solve the issue.

I am having two matrices A=[1.6512 1.6149 1.5829 1.5546 1.5298 1.1498 1.1334 1.1191 1.1066 1.0957 ...

9 months ago | 3 answers | 0

Question

could anyone help me to solve the issue

A=[2.1 2.2 2.3 2.4 2.5 2.6] B=[0.49 0.48 0.47 0.47 0.47 0.47] I want to have the desir...

9 months ago | 1 answer | 0

Question

how to group users into clusters.

code: I have four users {1 2 3 4} in the system these four users on grouping can have 15 different number of possibilities. i...

9 months ago | 0 answers | 0

Question

Could anyone help me to solve the issue.

position =[1 2; 1 3; 2 4; 3 4] NN= num2cell(position,2) when i run the code i am getting the...

9 months ago | 1 answer | 0

Question

could anyone help me to solve the issue.

code: position =[1 2; 1 3; 2 4; 3 4] NN= num2cell(position,2) DDD=partitions(4) DDD(~is...

9 months ago | 0 answers | 0

Question

could anyone help me to arrange the number in set brackets {}

i am having a matrix a=[1 2; 1 3; 2 4; 3 4] I want to arrange the numbers present in matrix a...

9 months ago | 1 answer | 0

Question

could anyone help me to solve the issue.

i am having two different array A = [ 0 2.9985 2.5625 0.7236; 0 0 1.0235 ...

9 months ago | 1 answer | 0

Question

could anyone help me to rearrange the matrix in the required manner.

I ma having a matrix A=[ 1 0 0 0; 2 0 0 0; ...

9 months ago | 1 answer | 0