A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

Réponse apportée
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...

plus de 2 ans il y a | 0

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté