Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

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

mehr als 2 Jahre vor | 0

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

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

mehr als 2 Jahre vor | 1

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

| akzeptiert