Risolto


imaginary results
Return the value of the imaginary number i to the power of input argument n.

10 mesi fa

Risolto


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

10 mesi fa

Risolto


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

10 mesi fa

Risolto


NaN

10 mesi fa

Risolto


Squares inside a square!

10 mesi fa

Risolto


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

10 mesi fa

Risolto


Adding Cells with numbers defined as strings
Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

10 mesi fa

Risolto


Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

10 mesi fa

Risolto


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

10 mesi fa

Risolto


imaginary

10 mesi fa

Risolto


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

10 mesi fa

Risolto


Maximum of ND-array
Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

10 mesi fa

Risolto


Convert from integer to binary
if true % decimalToBinaryVector(x) end

10 mesi fa

Risolto


Size

10 mesi fa

Risolto


Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

10 mesi fa

Risolto


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

10 mesi fa

Risolto


divide by 5

10 mesi fa

Risolto


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

10 mesi fa

Risolto


modulus of a number
find the modulus of a given number

10 mesi fa

Risolto


Volume of Cylindrical Shell

10 mesi fa

Risolto


sign function

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

10 mesi fa

Risolto


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

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

10 mesi fa

Risolto


Create tangent function out of sin and cos
Please don't use tan(x) directly

10 mesi fa

Risolto


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

10 mesi fa

Risolto


Power Numbers
Find the n-th power of m.

10 mesi fa

Risolto


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

10 mesi fa

Carica altro