Question

duplicated result in for loop

powerr = [ ... 0.6164 3.4161 0.9950 3.4117 3.1654 0.4123 4.2391 1.0198 0.5745 3.0364 1.3191 3....

más de 3 años ago | 1 answer | 0

Question

how to split data

rx = [1 3 4 5 6 7 8 9 2 6] Please how can I divide this data above to half to get x and y x = [ 1 3 4 5 6 ] y = [ 7 ...

más de 3 años ago | 2 answers | 0

Question

sort 2 matrices for minimum numbers sum and divide them

I have r = [ 1 3 4 5 ......n] and x = [ 5 8 9 4 ......n] I will like to do this computation when m = 1 sort the lowest numbe...

más de 3 años ago | 4 answers | 0

Question

Sorting through labelled data

Given the data of two columns below with negative and positive label '0,Negative' '1,Negative' '1,Positive' ...

más de 3 años ago | 2 answers | 0

Question

sorting and summing through data

hello please I have the following data for example T = Drag Class 1 positive 3 ...

más de 3 años ago | 1 answer | 0

Question

equation with scale vector

Hello I have a cell P have size = 12000 1 P = [h{:}] I want to implement this equation e = 0.5 F0 = 1 F1 = e *...

más de 3 años ago | 0 answers | 0

Question

conversion of cell to matrixes

Hello pls How do I convert a one column cells k which is a non scalar vector of 12000 rows to matrices For instance [K{:}] ...

más de 3 años ago | 1 answer | 0

Question

cumulative product of matrices

Hello folks can anyone assist me with a code for the computation below till Xn X0 = 1 X1 = e * (p) . ^ ( e - 1) * Xo X2 ...

más de 3 años ago | 0 answers | 0

Question

Generated code that mulitples previous number

Hello I want to compute a value assuming Xo = 1 using the formular X = e * (p) . ^ ( e - 1) * X for first X = e * (p) . ^ ( e...

más de 3 años ago | 2 answers | 0

Question

computing minimum for each rows

Hi I have a data called D consisting of three column D = 1 2 4 7 9 0 6 8 9 2 9 0 7 6 5 I want to get the minimun...

más de 3 años ago | 1 answer | 0

Question

Array indices must positive or integers because I have decimals in mymatrixes

Hello I have a one column data D which consist of double and decimal numbers and what to compute it using this code below K = ...

más de 3 años ago | 1 answer | 0

Question

how to double the data in x axis plot

Hello Please I have following plot on x axis : 1000, 2000, 3000, 4000, 5000, 6000 I want to double it so that it appears o...

más de 3 años ago | 2 answers | 0

Question

customised x data clustered around 0 axis in matlab plot

Hi Can anyone help me solve this issuse labels = [0 2000 4000 6000 8000 10000 12000]; disp(plot(X)); set(gca, 'XTick', 1:...

más de 3 años ago | 0 answers | 0

Question

finding x axis in findpeaks

Hello Please I am able to find the peak of my plot using pks = findpeaks(m); This only shows me the values on the y axis ...

más de 3 años ago | 1 answer | 0

Question

customised x data in matlab plot

I have an x label ( starting from 0 in the axis - 1000, 2000, 3000, 4000, 50000, 6000) I want to change the axis to the followi...

más de 3 años ago | 1 answer | 0

Question

Matrix manipulation in three numbers

Hello Please I have 2 numbers in a column that does the same function below croppedz = z(1:end-mod(end, 2*K), :); %ensure th...

más de 3 años ago | 0 answers | 0

Question

Am getting the error ' Array indices must be positive integers or logical values.

hi Find the following code below kiki = 2; xander = 1/n * h1 (sum(kiki * (([m{:}] - numel(Test)/h1)))); I am getting the fo...

más de 3 años ago | 1 answer | 0

Question

zero for input argument

Hi i am getting the following error below Undefined function 'zero' for input arguments of type 'double'. Error in com...

más de 3 años ago | 1 answer | 0

Question

Conditional statement of matrix

hello I have the following dataset A 1 2 2 3 4 5 6 7 5 . . . n I want to write a conditional statement that will...

más de 3 años ago | 1 answer | 0

Question

Error 1 exceed array bound

Hi Please find my code below when I run the code, I am getting the error find below Will appreciate your help Tino dists...

más de 3 años ago | 1 answer | 0

Question

scanning through rows of a single column

Hi Please I have a large data x with 200 rows and 1 column I want to create a condition if statement that will do the followi...

más de 3 años ago | 0 answers | 0

Question

Multiplication of rows in a single column

Hi Please how do I multiply the rows in a single column I have a matrix with the size 200 1 thanks for your help for ins...

más de 3 años ago | 2 answers | 0

Question

Unable to use a value of type 'cell' as an index.

Hi How can I make refer to a value in an index for instance I have m = [0] [1] [4] [3] [8] [3] [1] [4] [2] [1] ....

más de 3 años ago | 1 answer | 0

Question

Shorten code for a function

Hi Please I have this function fnP=@(a,i)(sum(a(i)>a(1:i))+0.5*sum(a(i)==a(1:i)))/i; and I get generated result for each colu...

más de 3 años ago | 1 answer | 0

Question

Table manipulation of matrix

Hi I want to a code that will compute group each c1/c2 for each column using K = to any number Assuming I have n = numbers len...

más de 3 años ago | 1 answer | 0

Question

finding the computation for n columns

Hi Given a a vector table z with column and row of 1200 and 1200 respectively I want to compute the following for each row...

más de 3 años ago | 1 answer | 0

Question

Short code for assigning labels in a large dataset

Hello Please I have a function which calculate conformal prediction for instance if k Z has a size of 1200 12000 rows = 120...

más de 3 años ago | 0 answers | 0

Question

dimension consistency of matrix

Hello I have 2 columns A B 1 2 2 4 3 3 4 1 6 1 3 4 5 6 How do I make B the ...

más de 3 años ago | 1 answer | 0

Question

Knnsearch given wrong number of argument

matlaHi Can anyone effectively correct me on this Thanks in advance Regards Jonathan Train = [1194; 1005; 731; 658; 652;...

más de 3 años ago | 0 answers | 0

Question

Conditional approach in a matrix variables

Hi Assuming I have the following matrices Y = [ 4,6,8,4,3,.......n] I want to compute a conditional statement that would go ...

más de 3 años ago | 1 answer | 0