92 total contributions since 2011

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

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

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

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

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

5 years ago | 0 answers | 0

Answered

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

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

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

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

6 years ago

Submitted

Add Icons to GUI menus

Adds icons to the main figure menu of a given GUI

6 years ago | 5 downloads |

Submitted

Dependency Analyzer

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

6 years ago | 2 downloads |

Submitted

AddMultipleLegends

Add as many legend you want to a single figure

6 years ago | 5 downloads |

Submitted

Struct2MindMap - A Structure to MindMap converter

Creates a mindmap from a given Matlab structure

6 years ago | 3 downloads |

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.

6 years ago | 1 download |

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

7 years ago | 2 answers | 0

Submitted

Figures-menu adaption for standalone applications

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

7 years ago | 0 downloads |

Solved

Test for balanced parentheses

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

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

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

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

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

7 years ago

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

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

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

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

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

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

7 years ago

Solved

Counting Money

Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

8 years 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 years ago