已解决


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

1 year 前

已解决


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

1 year 前

已回答
Undefined function 'loss' for input arguments of type 'TreeBagger'.
Hi Sanchit, The error message can be of because you are using wrong syntax for the loss function which is not meant for the Tre...

1 year 前 | 0

已解决


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

1 year 前

已解决


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1 year 前

已解决


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

1 year 前

已解决


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

1 year 前

已回答
How to detect the probability of a shift in mean value when number of variables increases?
Hi Nainsi, MATLAB code for the asked problem --> % Set the parameters p = 20; % Number of variables n = 1000; % Number of sa...

1 year 前 | 1

已回答
How to equalize dimensions to create scatter plot?
Hi Nick, To adjust the dimensions of the temperature and pesticide application rate data without losing any data, you need to e...

1 year 前 | 0

已回答
How can i obtain a damping Matrix C, with an inherent damping matrix of 2% for all the modes ?
Hi Kimbugwe, To obtain the damping matrix using an inherent damping ratio of 2% for all vibration modes, you can modify your ex...

1 year 前 | 0

| 已接受