Community Profile

# Christian Schröder

Active since 2019

Really enjoying MATLAB!

Professional Interests:

All

#### Content Feed

View by

Solved

Rows number
Find the number of rows in a given matrix.

5 hours ago

Solved

Finding the 9th power of a variable
Getting aquainted with finding the 9th power of a variable

5 hours ago

Solved

Finding the 8th power of a variable
Getting aquainted with finding the 8th power of an element.

5 hours ago

Solved

How to find a 7th power of a variable
Getting aquainted with finding the 7th power of a variable.

6 hours ago

Solved

How to find the sixth power of a variable
Getting an aquainatance of finding the sixth power of a variable.

6 hours ago

Solved

How to find the 5th power of a variable
Getting an aquaintance of how to find the 5th power of a variable

6 hours ago

Solved

How to find the 4th power of a variable
Getting an aquaintance on how to solve for the 4th power of a variable.

6 hours ago

Solved

How to cube root something
An aquaintance on how to cube root an element

6 hours ago

Solved

How to square root something
A practice problem to get you aquainted with how to square root something.

6 hours ago

Solved

How to square something
Looking to see if something could be squared from the code you created from the input of x

6 hours ago

Solved

Queen's move
given a number of consecutive moves of queen, check for their validity based on their previous position.... but remember if u g...

3 days ago

Solved

Dyck words
A Dyck word can be considered as a string of n X's and n Y's arranged to have at least as many X's in an initial segment of the ...

3 days ago

Solved

Compute the dilation of a binary image
A basic operation in image analysis is the dilation. Given an image where each pixel is either on or off (black/white, true/fals...

6 days ago

Solved

Create different color vectors.
When producing figures with multiple lines on, you often want the lines to all be visible and different colors. Given the need f...

6 days ago

Solved

Index of neighbor pixel with steepest gradient
Unlike in various applications, where the gradient of a two dimensional matrix is calculated in x and y direction, the gradient ...

6 days ago

Solved

Fifteen Parity Check
The Matlab function fifteen initializes the 4x4 array with randperm(16), which produces 50% unsolvable puzzles. A <https://en.wi...

6 days ago

Solved

Change a specific color in an image
The ability to change colors can be a useful tool in image processing. Given an m x n x 3 array (much like CData in images), fin...

6 days ago

Solved

Convert RGB triplet to ColorSpec string
This is the inverse to <http://www.mathworks.com/matlabcentral/cody/problems/42612-convert-colorspec-string-to-rgb-triplet this ...

6 days ago

Solved

Find indices of diagonal elements
Given a matrix A and a diagonal index d (where 0 indicates the main diagonal and off-diagonals are identified by positive and n...

7 days ago

Solved

Calculate the Damerau-Levenshtein distance between two strings.
<http://www.mathworks.co.uk/matlabcentral/cody/problems/2303-compute-hamming-distances-between-each-pair-of-rows-from-two-input-...

7 days ago

Solved

longest common substring : Skipped character version
Two strings are given. Find the longest common substring between them. The substring characters need not be adjacent. They, howe...

7 days ago

Solved

Find the longest match inside two strings
Given two strings, find the longest string which is contained within both strings. e.g. the longest string that is contained ...

7 days ago

Solved

Broken numlock key, oppps !
The numlock key on my computer is pressed and is now broken, so I cant press it to switch off the numlock mode. And hence I am n...

7 days ago

Solved

Divisible by 12
Write a function to determine if a number is divisible by 12. Similar to the number six, this can be done by checking for divisi...

8 days ago

Solved

Chess performance
After Problems <http://www.mathworks.com/matlabcentral/cody/problems/3054-chess-elo-rating-system/ 3054> and <http://www.mathwor...

8 days ago

Solved

Concatenate string with cell array of strings
Given a cell array of strings (a), a target string (b), and a target position (ind), return a cell array of strings (c) in which...

8 days ago

Solved

longest common semi-substring
Finding longest common substring is a common problem in string processing. This problem is a variant of that. Two strings are g...

8 days ago

Solved

Did you say please? - Find one string within another without strfind or regexp/regexpi
For a given string sentence, determine if the string word 'please' is present or not. If so, return the string 'OK', else return...

8 days ago

Solved

Generate a melodic contour string matrix
<http://en.wikipedia.org/wiki/Parsons_code Parsons code> is a surprisingly effective way to identify music by its melodic motion...

8 days ago

Solved

Kryptos - CIA Cypher Sculpture: Vignere Decryption
The <http://en.wikipedia.org/wiki/Kryptos Kryptos Sculpture> contains four encypted messages. This Challenge is to Decrypt tw...

8 days ago