Gelöst


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

6 Monate vor

Gelöst


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

6 Monate vor

Gelöst


to the 2 all elements
to the 2 all elements

6 Monate vor

Gelöst


the average value of the elements
Calculate the average value of the elements in the array

6 Monate vor

Gelöst


Double all elements in the array
Duplicate all elements in the array

6 Monate vor

Gelöst


calculate the length of matrix
input 1 array, calculate the length

6 Monate vor

Gelöst


Draw a '0' in a one matrix!

6 Monate vor

Gelöst


Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

6 Monate vor

Gelöst


Converts numbers into characters
Converts numbers into characters

6 Monate vor

Gelöst


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the second...

6 Monate vor

Gelöst


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

6 Monate vor

Gelöst


SatCom #1: Wavelength of an electomagnetic wave
*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

6 Monate vor

Gelöst


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

6 Monate vor

Gelöst


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

7 Monate vor

Gelöst


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

7 Monate vor

Gelöst


Create a vector
Create a vector from 0 to n by intervals of 2.

7 Monate vor

Gelöst


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

7 Monate vor

Gelöst


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

7 Monate vor

Gelöst


Find max
Find the maximum value of a given vector or matrix.

7 Monate vor

Gelöst


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

7 Monate vor

Gelöst


Inner product of two vectors
Find the inner product of two vectors.

7 Monate vor

Gelöst


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

7 Monate vor

Gelöst


Compute the missing quantity among P, V, T for an ideal gas
Consider 100 mol of helium gas at a certain pressure (P), volume (V), and temperature (T). Assuming that the ideal gas law appli...

7 Monate vor

Gelöst


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

7 Monate vor

Gelöst


Spot the rectangle (Part 2)
This problem is related to the 17x17 challenge. See also Part 1 of this problem. Given a matrix in which each element is either ...

7 Monate vor

Gelöst


Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifm...

7 Monate vor

Gelöst


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

7 Monate vor

Gelöst


Laws of motion 2

7 Monate vor

Gelöst


Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...

7 Monate vor

Gelöst


Roll the Dice!
Description Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. Example [x1,x2] = rollDice(...

7 Monate vor

Mehr laden