Solved

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

2 mesi ago

Solved

Elapsed Time

Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

2 mesi ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 mesi ago

Solved

Calculate BMI

Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

2 mesi ago

Solved

Calculate a Damped Sinusoid

The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

2 mesi ago

Solved

Solve a System of Linear Equations

*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

2 mesi ago

Solved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

2 mesi ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

2 mesi ago

Solved

Find the Oldest Person in a Room

Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

2 mesi ago

Answered

Dis-similarity in transfer function of DC motor

I assume that you want the transfer function that has the the armature voltage as the input and the rotational speed as the outp...

Dis-similarity in transfer function of DC motor

I assume that you want the transfer function that has the the armature voltage as the input and the rotational speed as the outp...

2 mesi ago | 0

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

2 mesi ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

2 mesi ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

2 mesi ago

Solved

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

2 mesi ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 mesi ago

Answered

a function that draws a plot: use a variable name for a legend

If you want to get the variable name inside a function, you can use the "inputname" function: https://www.mathworks.com/help/m...

a function that draws a plot: use a variable name for a legend

If you want to get the variable name inside a function, you can use the "inputname" function: https://www.mathworks.com/help/m...

2 mesi ago | 0

| accepted

Answered

A function that outputs the mean and standard deviation

Hello Christopher I think that what you want is to define a function like this: function [M, VSD] = mean_stdev(A) %...

A function that outputs the mean and standard deviation

Hello Christopher I think that what you want is to define a function like this: function [M, VSD] = mean_stdev(A) %...

2 mesi ago | 0