I work on the MATLAB Central and MATLAB Interface teams. See also http://www.starchamber.com/

Submitted

Zoom Keys

Pan and zoom quickly around your 2-D data using mouse and keyboard shortcuts.

10 days ago | 6 downloads |

Published

The Cody Fifth Anniversary Challenge

Does Cody have birthdays or anniversaries? It seems to me like it should have birthdays, but anyway, it’s been around...

5 months ago

Published

Community Q&A – Daniel Turizo

Daniel Turizo was one of the first people to complete the Easy and Hard problem sets in the Cody 5 Year Challenge. Daniel...

6 months ago

Published

A New Contest: Gerrymandering Commas

Last February, researchers at the University of St Andrews ran a MATLAB programming contest to study how people compete and...

7 months ago

Published

Generating Insight With Cody Function Clouds

One of the things I like about Cody is that it not only encourages you to solve a particular problem, but it encourages you...

8 months ago

Solved

5 Prime Numbers

Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

8 months ago

Solved

Missing five

Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...

8 months ago

Solved

Extra safe primes

Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

8 months ago

Solved

Pernicious Anniversary Problem

Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

8 months ago

Solved

Is this is a Tic Tac Toe X Win?

For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

8 months ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

8 months ago

Published

Limited Edition Laurels: Cody is Five!

Do you have what it takes to win this badge?…

8 months ago

Solved

How to subtract?

* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

8 months ago

Solved

Pentagonal Numbers

Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

8 months ago

Solved

Find the nearest prime number

Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

8 months ago

Solved

Getting logical indexes

This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

9 months ago

Solved

Specific Element Count

Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

9 months ago

Solved

Calculate the Levenshtein distance between two strings

This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...

9 months ago

Published

Community Q&A: Manu BN

Manu BN is the author of 14 files on File Exchange including some popular submissions. Please enjoy this virtual interview...

9 months ago

Published

Deep Learning and Cody

I want to mention two exciting developments, one last week and one this week….

9 months ago

Solved

Alternating sum

Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

9 months ago

Solved

Replicate elements in vectors

Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

9 months ago

Solved

Find a Pythagorean triple

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

9 months ago

Published

A Galloping Logo Zoetrope

What is a zoetrope? A zoetrope is a simple kind of animation, first popularized in the 1800s. Take twelve images of a...

9 months ago

Published

Text Alignment, Dinosaurs, and Orators

When we’re creating new pages for our community apps, our designers sometimes add some sample text as part of the...

10 months ago

Solved

Use a timetable to analyze a train timetable (Part 2)

Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Yo...

10 months ago

Published

New in Answers: Top Contributors & Staff

You’re the new kid in school. It’s lunch time….

11 months ago

Solved

"mirror" matrix

Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

11 months ago

Published

Answers Badges Are Here!

Maybe, like me, you got an email this week telling you that you won a badge for your contributions to MATLAB Answers. And...

11 months ago