Solved


modulus of a number
find the modulus of a given number

1 year ago

Solved


Determina si el número es primo
Primero, antes que nada: ¿Qué es un número primo? Un número primo es cualquier número que solamente se puede dividir por 1 y ...

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


divide by 5

1 year ago

Solved


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

1 year ago

Solved


Fizz
Dado um número inteiro n, retorne 'fizz' se esse valor for multiplo de 3, ou retorne o valor caso contrario. Fizz(3) = 'fizz'; ...

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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.

1 year ago

Solved


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

1 year ago

Solved


Size

1 year ago

Solved


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.

1 year ago

Solved


Break it up! Break it up!
You have N pennies. Write a Matlab script that will reveal how many different ways you can break up those pennies. For example...

1 year ago

Solved


Estimating the Range of an Electric Vehicle (EV)
In Electric Vehicles (EVs), the driving range is the estimated distance a vehicle can travel on a fully charged battery. The ran...

1 year ago

Solved


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

1 year ago

Solved


Squares inside a square!

1 year ago

Solved


Battery State of Health (SoH) Calculation
In a Battery Management System (BMS), the State of Health (SoH) of a battery is an indicator of its overall condition. It is cal...

1 year ago

Solved


Multiplos 7
Escreva um programa que mostre todos os números entre 5 e 100 que são divisíveis por 7, mas não são múltiplos de 5. Os números o...

1 year ago

Solved


sign function

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

1 year ago

Solved


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

1 year ago

Load more