Community Profile

photo

Schiefermüller Lukas


Last seen: 2 mesi ago
60 total contributions since 2019

Schiefermüller Lukas's Badges

  • Solver

View details...

Contributions in
View by

Solved


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

5 mesi ago

Solved


06 - Matrix Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...

5 mesi ago

Solved


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

5 mesi ago

Solved


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

5 mesi ago

Solved


Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

5 mesi ago

Solved


Max of a Vector
Write a function to return the max of a vector

5 mesi ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

5 mesi ago

Solved


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

5 mesi ago

Solved


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

5 mesi ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

5 mesi ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

5 mesi ago

Solved


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

5 mesi ago

Solved


Determine if a Given Number is a Triangle Number
*Description:* Determine if the elements of an input array are triangle numbers and return the result as an array with the sa...

5 mesi ago

Solved


Complex number
For complex number c=a+bi, write code that will add a and b together.

5 mesi ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

5 mesi ago

Solved


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

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

6 mesi ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

6 mesi ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

6 mesi ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

6 mesi ago

Solved


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

6 mesi ago

Solved


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

6 mesi ago

Solved


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

6 mesi ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

6 mesi ago

Solved


Least common multiple of many numbers
1:6 -> 60

6 mesi ago

Solved


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

6 mesi ago

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

6 mesi ago

Solved


Array of Ones
Create a 100 X 100 array of ones.

6 mesi ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

6 mesi ago

Solved


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

6 mesi ago

Load more