Community Profile

photo

Schiefermüller Lukas


Last seen: 28 dagar 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...

6 månader 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...

6 månader 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...

6 månader ago

Solved


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

6 månader 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 ...

6 månader ago

Solved


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

6 månader ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

7 månader ago

Solved


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

7 månader 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

7 månader ago

Solved


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

7 månader 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.

7 månader 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!...

7 månader 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...

7 månader ago

Solved


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

7 månader 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...

7 månader ago

Solved


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

8 månader 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...

8 månader 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...

8 månader 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...

8 månader ago

Solved


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

8 månader 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. ...

8 månader 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...

8 månader 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...

8 månader 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 = ...

8 månader ago

Solved


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

8 månader 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...

8 månader ago

Solved


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

8 månader ago

Solved


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

8 månader 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 + ...

8 månader ago

Solved


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

8 månader ago

Load more