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

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

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

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

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

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

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

9 jours 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] ....

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

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

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

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

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

10 jours 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;...

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

15 jours ago | 1 answer | 0

Question

Adding labels to a matrix number

please I have the following matrixes T = 5.1000 3.5000 1.4000 0.2000 6.4000 3.2000 4.5000 1.5000 ...

21 jours ago | 1 answer | 0

Question

confusion matrixes of 2 dimension

Hello I am trying to do the following computation confusionmat h = 5.1000 3.5000 1.4000 0.2000 6.4000 3.200...

21 jours ago | 1 answer | 0

Question

making one matrices dimension same as other

hi I have the following matrices h = 5.1000 3.5000 1.4000 0.2000 6.4000 3.2000 4.5000 1.5000 5.40...

21 jours ago | 1 answer | 0

Question

Error using trace in matrices manipulation

Hello I am trying to compute 2 different matrixes of various size using the code below and I am getting an error in the lin...

22 jours ago | 1 answer | 0

Question

confusion matrix for different dimension

plot(confusion(Training,Test)); I am trying to plot this but it is saying that target and output give different dimensions Tr...

22 jours ago | 0 answers | 0

Question

calculating confusion matrices to find the recall, precision

Hi I have 2 different matrices of varying sizes for T and d T = 1 2 3 1 2 4 8 1 2 7 5 1 3 3 3 3 2 2 3 4 1 2 3 5 d = 2...

22 jours ago | 0 answers | 0

Question

Short code for the expression

h =2; P = [1, 4, 5, 7]; a1 = (1-h)* 1 + h * P(:, 1); a2 = (1-h) * a1 + h * P(:, 2); a3 = (1-h) * a2 + h * P(:, 3); a4 =...

23 jours ago | 1 answer | 0

Question

Loading data from Excel file

Hello Please can anyone assist me on how to load data from excel file using the function load Thanks in advance Tino

23 jours ago | 1 answer | 0

Question

what function can be used to divide matrixes with n length

Hi, Please I need a code that will do this computation below Thanks in advance Please given x = 1 2 3 4 5...... x.lengt...

29 jours ago | 1 answer | 0

Question

simple code for the log computation

Hello, Please can anyone help me with a short code to do the following computation below X = { 1, 2, 3, 5, 6} M1 = log10(X(:,...

29 jours ago | 2 answers | 0

Question

calculating Kernel density for each column

Hi Please how do I need a short code that will calculate the KDE of each column in the R.length data below the KDE is given ...

environ un mois ago | 1 answer | 0

Question

Calculating mean for each column

Hi Please how do I compute the mean of each column using R of varying length ( R.length) Thanks in advance R = [ 0.6164 ...

environ un mois ago | 1 answer | 0

Question

short programs to subtracts rows from a matrix of n length

Hi, Please kindly help me with a short program that can do this computation using T.length and X.length. Please find my comput...

environ un mois ago | 1 answer | 0

Question

How to subtract a number from a previous one

given a set of number 1, 0.75, 0.50, 0.6 I want a code that could compute the following given the first value as 1 for instan...

environ un mois ago | 1 answer | 0

Question

How do I restart my code again if the conditions are not satisfied

Hi guys Please is there any code that will make me restart a coding process. for instance I have a running code and finalised...

environ un mois ago | 0 answers | 0