Community Profile

# Kevin Hellemans

##### Last seen: circa un mese ago
326 total contributions since 2013

#### Kevin Hellemans's Badges

View all

Contributions in
View by

Solved

Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

circa un mese ago

Solved

Matrix with different incremental runs
Given a vector of positive integers a = [ 3 2 4 ]; create the matrix where the *i* th column contains the vector *1:a(i)...

circa un mese ago

Solved

Rotate input square matrix 90 degrees CCW without rot90
Rotate input matrix (which will be square) 90 degrees counter-clockwise without using rot90,flipud,fliplr, or flipdim (or eval)....

circa un mese ago

Solved

Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

circa 2 mesi ago

Solved

Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

circa 2 mesi ago

Solved

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

circa 2 mesi ago

Solved

intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identi...

circa 2 mesi ago

Solved

We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

circa 2 mesi ago

Solved

Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

circa 2 mesi ago

How to assign a value against a string from 1st column to other?
Hi, The fastest way would be to create a Matlab variable directly. However, should you want to create a dynamic link to an Exce...

circa 2 mesi ago | 0

Submitted

Game Timer
Board Game Timer

circa 2 mesi ago | 4 downloads |

Update GUI based on values chosen in a Radio Button Group
Hi, One possibility (might not be the most elegant solution) is to read all radio buttons in a single variable. When you cre...

circa 2 mesi ago | 0

check whether an interval instant belongs to an array of intervals
Hi, I would use cellfun to loop through the intervals and check in each cell. The function belows takes the cell array C and ...

circa 2 mesi ago | 0

| accepted

Assigning values from one array to another if certain specifications are met.
Hi, I think this should do the trick: A= [0 1 2 3 6 8 9 10; ... 0 0 0 0 0 ...

circa 2 mesi ago | 1

Solved

Construct an index vector from two input vectors in vectorized fashion
Create an index vector defined by two input vectors, one defining the beginnings of one or more index ranges, and the other defi...

circa 2 mesi 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 ...

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

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

6 mesi ago

Solved

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

6 mesi ago

Question

Arduino support package win10 compatibility
Hi, I'm trying to get Matlab and Simulink set up to work with an Arduino. However, when I try to install the support package...

6 mesi ago | 0 answers | 0

### 0

Solved

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

11 mesi ago

Solved

Set some matrix elements to zero
First get the maximum of each *row*, and afterwards set all the other elements to zero. For example, this matrix: 1 2 3 ...

11 mesi ago

Solved

Permute diagonal and antidiagonal
Permute diagonal and antidiagonal For example [1 2 3;4 5 6;7 8 9] -> [3 2 1;4 5 6;9 8 7] WITHOUT diag function (and variable n...

12 mesi ago

Solved

Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

12 mesi ago

Solved

Make an awesome ramp for a tiny motorcycle stuntman
Okay, given a vector, say v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 3 6 9 11 0; 6 9 ...

12 mesi ago

Solved

surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

12 mesi ago

Solved

Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

12 mesi ago

Solved

Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

circa 5 anni ago

Submitted

Infrared Image Software (IRIS)
FTIR Image Data Processing

oltre 5 anni ago | 10 downloads |

Solved

Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

oltre 5 anni ago