Question

Could anyone help me how to overcome the error in the following code:

code: x = linspace(0,10); y1 = sin(x); y2 = sin(0.9*x); y3 = sin(0.8*x); y4 = sin(0.7*x); y5 = sin(0.6*x); y6 = sin(0.5*x...

4 dagen ago | 2 answers | 0

Question

how to select the second maximum value for an array.

A=[20 60 80 100 75 90 35 55] with respect to A if i use the command max(A) it gives 100. But i need to choose the second maxim...

10 dagen ago | 2 answers | 0

Question

could anyone help me how to solve the error in matlab 2015a

when i run the command line Md1=fitcsvm(X_train_w_best_features,y_train,'kernelFunction','rbf',... 'OptimizeHyperpar...

29 dagen ago | 0 answers | 0

Question

could anyone help me to display the values in the matrix which are greater than the average value for the following code

code: A=[3.3734 5.1245 4.3729 2.8406 6.5283 4.8144 2.9305 6.8098 2.8633 4.2790 6.3190 5.7503 ...

ongeveer een maand ago | 2 answers | 0

Question

Could anyone help me how to rearrange the matrix in the descending order with respect to the values in another matrix.

I having two matrices a and b a=[ 0.0067; 1.8509; 0.0018; 0.0008; 0.0003; 0.1866; 0.0057; ...

ongeveer 2 maanden ago | 1 answer | 0

Question

could anyone help me how to combine data in two columns

A=[1; 2; 3] B=[4 ; 5; 6] I want to have the result in the following manner [1 4; 2 5; 3 6] could anyone ...

ongeveer 2 maanden ago | 1 answer | 0

Question

Could anyone please help me to group the users which are being at a maximum distances to be grouped together.

code: clear all; clc; PPP=[1.7718 2.4035; 1.3717 1.8971; -0.0575 1.2565; 1....

2 maanden ago | 0 answers | 0

Question

could anyone help me to solve the issue in the figure.

I having the following code h1 = figure('Name','Clusters'); hold on; plot(xunit, yunit); hold on plot(ysd,xsd,'r^') ...

3 maanden ago | 1 answer | 0

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

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

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

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

3 maanden 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',... ...

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

3 maanden 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:

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

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

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

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

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

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

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

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

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

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

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

4 maanden 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=...

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

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

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

4 maanden ago | 1 answer | 0