Risolto


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

circa un anno fa

Risolto


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

circa un anno fa

Risolto


Volume of Cylindrical Shell

circa un anno fa

Risolto


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

circa un anno fa

Risolto


Vector indexing: lower than mean
Find indices of values in a vector lower than the mean of the vector

circa un anno fa

Risolto


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

circa un anno fa

Risolto


Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

circa un anno fa

Risolto


For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

circa un anno fa

Risolto


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

circa un anno fa

Risolto


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

circa un anno fa

Risolto


Magnitude of a vector
Given a vector x, what is its magnitude?

circa un anno fa

Risolto


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

circa un anno fa

Risolto


UICBioE240 problem 1.12
The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

circa un anno fa

Risolto


non-repitition of numbers in a vector

circa un anno fa

Risolto


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

circa un anno fa

Risolto


Real

circa un anno fa

Risolto


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

circa un anno fa

Risolto


Compound Interest : Future Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

circa un anno fa

Risolto


Saving MATLAB session to a file
How to save MATLAB session to a file?

circa un anno fa

Risolto


Variance computation (★)
Given a vector x with several values, compute the variance, whose formula is given by: <<https://i.imgur.com/Wg95KBE.gif>> ...

circa un anno fa

Risolto


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

circa un anno fa

Risolto


Distance Travelled by Vehicle

circa un anno fa

Risolto


Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...

circa un anno fa

Risolto


Factorions: Numbers that equal the sum of the factorials of their digits
From Wikipedia: _A factorion is a natural number that equals the sum of the factorials of its decimal digits_ For example: ...

circa un anno fa

Risolto


Compound Interest: Present Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

circa un anno fa

Risolto


wipe out!
make all the elements in given x zero.

circa un anno fa

Risolto


Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.

circa un anno fa

Risolto


find the index of a number

circa un anno fa

Risolto


DC-DC boost converter
Find the output voltage of a DC-DC boost converter given input voltage and the duty cycle ratio

circa un anno fa

Risolto


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

circa un anno fa

Carica altro