Community Profile

# Kwin

### University of Technology Eindhoven

Last seen: plus de 2 ans il y a Actif depuis 2016

Previously finished a bachelor mechanical engineering and currently doing a master Systems and Control at the Eindhoven University of Technology.

All

#### Content Feed

Afficher par

Question

Improve the accuracy/convergence of dlyap
I was playing a little with solving the discrete Lyapunov equation (A * X * A' - X + Q = 0) myself when I came across <https://m...

environ 5 ans il y a | 1 réponse | 0

### 0

réponse

A résolu

What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

plus de 5 ans il y a

A répondu
Arrow on Nyquist plot
Assuming a rational transfer function with real coefficients, then this can be done by inputting the complex conjugate of the or...

plus de 5 ans il y a | 0

A résolu

Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

environ 6 ans il y a

A résolu

Population growth
Assign finalPopulation with the population size given an initial population, population growth rate, and number of years. The fi...

environ 6 ans il y a

A résolu

Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

environ 6 ans il y a

A résolu

Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

environ 6 ans il y a

A résolu

Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

environ 6 ans il y a

A résolu

Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

environ 6 ans il y a

A résolu

Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

environ 6 ans il y a

A résolu

All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

environ 6 ans il y a

A résolu

Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

environ 6 ans il y a

A résolu

Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

environ 6 ans il y a

A résolu

Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

environ 6 ans il y a

A résolu

Function definition: Double down.
* Complete the DoubleDown function to return twice the initialValue.

environ 6 ans il y a

A résolu

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

environ 6 ans il y a

A résolu

Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

environ 6 ans il y a

A résolu

Construct an array

environ 6 ans il y a

A résolu

Subset Sum
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

environ 6 ans il y a

A résolu

Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

environ 6 ans il y a

A résolu

Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

environ 6 ans il y a

A résolu

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

environ 6 ans il y a

A résolu

Declaring a character
* Assign middleInitial with the character T.

environ 6 ans il y a

A résolu

Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

environ 6 ans il y a

A résolu

Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

environ 6 ans il y a

A résolu

Computing wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

environ 6 ans il y a

A résolu

Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

environ 6 ans il y a

A résolu

Integer indexing array: Weekend box office
The row array movieBoxOffice stores the amount of money a movie makes (in millions of \$) for the 7 days of a week, starting with...

environ 6 ans il y a

A résolu

Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

environ 6 ans il y a

A résolu

Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

environ 6 ans il y a