Resuelto


Size of this cup?
The given vector has diameter of the cup in mm sampled at micrometer increments in depth from top to bottom, need output in cc a...

alrededor de 2 años hace

Resuelto


Zero Cross
Write a function that counts the number of times n a signal x changes sign. Examples x = [1 2 -3 -4 5 6 -7 8 -9 10 11] ...

alrededor de 2 años hace

Resuelto


Where the Four Corners Am I?
The "Four Corners" region of the US is where Colorado, Utah, Arizona, and New Mexico all meet - the only place where four states...

alrededor de 2 años hace

Resuelto


Linear Motion 4
A robot accelerates at a rate of A ft/s2. Assuming the robot starts from rest how much time is required to reach an object loca...

alrededor de 2 años hace

Resuelto


Linear Motion 3
Suppose a robot is moving in a straight line and steadily increases its speed. It moves from v1 ft/s to v1+2 ft/s in the first ...

alrededor de 2 años hace

Resuelto


Signed Magnitude
For a given input vector, return the value that is furthest from zero. For example, if x = [1 2 -12] return -12.

alrededor de 2 años hace

Resuelto


Weave two vectors into one
Weave the two given vectors into one as shown below. Example: If a = [1 1 1] b = [0 0 0] then y = [1 0 1 0 ...

alrededor de 2 años hace

Resuelto


Add one raw in given matrix as shown in example
*Add one raw in given matrix as shown in example* A=[1 0;0 1]; X=[3 5]; Answer must be:[1 0; 0 1;3 5]

más de 2 años hace

Resuelto


Upper triangular matrix
Create a function to retrieve the upper triangular matrix of a matrix (without using tril). The matrix will always be square. ...

más de 2 años hace

Resuelto


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

más de 2 años hace

Resuelto


Narcissistic problem
How many likes has this problem?

más de 2 años hace

Resuelto


Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

más de 2 años hace

Resuelto


Square
square root of x

más de 2 años hace

Resuelto


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

más de 2 años hace

Resuelto


Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

más de 2 años hace

Resuelto


Moving average (variable kernel length)
Find the moving average in a vector. The kernel length is a variable. For example x = 1:10 kernel_length = 2 would r...

más de 2 años hace

Resuelto


Voltage in a lamp
A lamp is measured to have a resistance of R ohms when it operates at a power of P Watts. What is the voltage (in volts) being a...

más de 2 años hace

Resuelto


Linear Motion 5
A robot moving down an incline for 3 seconds undergoes a uniform acceleration of a ft/s2. If the robot has an initial velocity o...

más de 2 años hace

Resuelto


Nth root
Nth root of a number x

más de 2 años hace

Resuelto


Divide elements by sum of elements
In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the s...

más de 2 años hace

Resuelto


Find cosine between two given vectors u and v.
Find cosine between two given vectors u and v. Example u = [5 2 0 5 3 0]; v = [3 2 5 1 ...

más de 2 años hace

Resuelto


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]

más de 2 años hace

Resuelto


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

más de 2 años hace

Resuelto


What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

más de 2 años hace

Resuelto


Square root of number
Square root of given number.

más de 2 años hace

Resuelto


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

más de 2 años hace

Resuelto


Find Factrorial without using built-in function
A number is given, you have to find the factorial of the number without using built-in factroial function. You may use loops....

más de 2 años hace

Resuelto


Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

más de 2 años hace

Resuelto


create a circulant matrix
create a circulant matrix

más de 2 años hace

Resuelto


Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

más de 2 años hace

Cargar más