Community Profile

# Alexander Mering

105 total contributions since 2011

Contributions in
View by

Solved

Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

2 months ago

Solved

Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

2 months ago

Solved

Matlab Basics - Set unwated parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. e.g. x = [1 2 3 4 5 6 7] --> x = [1 ...

6 months ago

Solved

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

2 years ago

Solved

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

2 years ago

Question

Why to use gobjects
While scanning through the last release notes, I discovered for R2013b the point: *Graphics* _gobjects_ function for pr...

2 years ago | 0 Answers | 0

### 0

Posted

Excel & PageBreaks
Dear Group, currently I'm experiencing a major performance issue with the generation of an excel report. Within the report, I'm...

2 years ago | 1032 views

Programatically change DTDocumentBar position
Meanwhile I got help on this topic. When being in contact with matlab support on another issue, the kind person there helped ...

2 years ago | 0

| accepted

Solved

Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

3 years ago

Solved

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

3 years ago

Submitted

Submitted

Add as many legend you want to a single figure

Submitted

Dependency Analyzer
Starting from a given directory, the dependencies of all files are analyzed and visualized as a map.

Submitted

Struct2MindMap - A Structure to MindMap converter
Creates a mindmap from a given Matlab structure

Submitted

Open new editor window with template / header information
This file opens a new window in the editor and prefills it with some template or header information.

Question

Programatically change DTDocumentBar position
Within the Figures container (and the editor also), the list of open figures (or documents) could be positioned using the contex...

4 years ago | 2 Answers | 0

### 2

Submitted

Create dockable figures for standalones and disable or remove menu items from the figures container

Solved

Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

4 years ago

Solved

Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

4 years ago

Solved

Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

4 years ago

Solved

Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

4 years ago

Solved

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

4 years ago

Posted

Functionalized getappdata and predefined classes
Dear forum, in an earlier question (http://www.mathworks.de/matlabcentral/answers/22796-predefined-settings-in-r2011b) I strugg...

4 years ago | 1880 views

Solved

Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

4 years ago

Solved

Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

4 years ago

Solved

Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...

4 years ago

Solved

Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

4 years ago

Solved

Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

4 years ago

Solved

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

4 years ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

4 years ago