Community Profile

# INDETERMINABLE

73 total contributions since 2019

View details...

Contributions in
View by

Solved

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

9 months ago

Solved

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

9 months ago

Solved

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

9 months ago

Solved

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

9 months ago

Solved

Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

9 months ago

Solved

Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

9 months ago

Solved

Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

9 months ago

Solved

MATLAB Basic: rounding III

9 months ago

Solved

MATLAB Basic: rounding II

9 months ago

Solved

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

9 months ago

Solved

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

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

9 months ago

Solved

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

9 months ago

Solved

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

9 months ago

Solved

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

9 months ago

Solved

In this problem, you have to add three numbers a, b and c. Give output d = add(a,b,c)

9 months ago

Solved

Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

9 months ago

Solved

Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A

9 months ago

Solved

Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

9 months ago

Solved

Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

9 months ago

Solved

Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

9 months ago

Solved

Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

9 months ago

Solved

Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...

9 months ago

Solved

Rounding
Round 10.67 and make 'y' equal to that number.

9 months ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

9 months ago

Solved

kmph to mps
convert kilometer per hour to meter per second

9 months ago

Solved

03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

9 months ago

Solved

Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

9 months ago

Solved

Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

9 months ago

Solved

length of a vector
Find twice the length of a given vector.

9 months ago