Published


Printing Math
What is this shape? Can you guess? It may look like a dirty sock, but I promise that it’s not. Paul Kassebaum, who recently...

13 years ago

Thumbnail

Solved


Criss-Cross Verification: NHL
This Challenge is to verify a Criss-Cross matrix has no invalid words,contains all of the word set, and all are simply connected...

13 years ago

Published


Recap of the UK Student Robot Challenge
Robot competitions are in the air these days, what with the recent Battlebots competition in Massachusetts and the earlier...

13 years ago

Thumbnail

Answered
regular expressions resources and regular expression problem
Another way to get good at regular expressions is to practice on Cody with <http://www.mathworks.com/matlabcentral/cody/?term=ta...

13 years ago | 1

Published


Data Tips on MATLAB Mobile
It has been a while since we last talked about displaying data tips on MATLAB Mobile. The data cursor feature has since...

13 years ago

Thumbnail

Problem


Beads on a Necklace (Convex Hulls)
We may describe a <http://en.wikipedia.org/wiki/Convex_hull convex hull> as a rubber band stretched around a list of points. Som...

13 years ago | 2 | 57 solvers

Solved


Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

13 years ago

Published


Design Challenge: Autonomous Battlebots with Simulink
This week I welcome Dr. Paul Kassebaum to the blog. Paul is a physicist at MathWorks working to engage the public with...

13 years ago

Thumbnail

Problem


Prime Ladders
A <http://en.wikipedia.org/wiki/Word_ladder word ladder> transforms one word to another by means of single-letter mutations. So ...

13 years ago | 10 | 55 solvers

Published


Fun, learning, and drama at the MathWorks Student Robot Challenge
This week I’d like to introduce guest blogger Dr Tanya Morton. Tanya leads the Application Engineering team in the UK,...

13 years ago

Thumbnail

Published


Challenge students with MATLAB practice on Cody
I’ve recently been talking with professors eager to use Cody in the classroom.  From these discussions, I’ve learned of...

13 years ago

Thumbnail

Published


Dancing in the spotlight – The intersection between robotics, video processing and art
This week I’d like to introduce guest blogger Joachim Schlosser. Joachim leads the team of Education Technical Specialists...

13 years ago

Thumbnail

Published


Your MATLAB Files on the Cloud. And more.
Happy 2013! 2012 was an eventful year for MATLAB Mobile, with releases for the iPad, the Android platform, and several...

13 years ago

Thumbnail

Problem


Balanced Ternary Numbers: Easy as |, |-, |o
This problem concerns the so-called <http://en.wikipedia.org/wiki/Balanced_ternary balanced ternary> system for representing num...

13 years ago | 3 | 73 solvers

Problem


MatCAT - Reconstruct X from Its X-rays
Consider a matrix x x = [ 1 2 0 0 5 0 3 0 8 ] If we sum x along the rows we get row_sums = [3 5 11] ...

13 years ago | 10 | 146 solvers

Solved


THE CALCULATOR OF LOVE
In honor of Valentine's Day, program a love calculator that figures out the percentage of compatibility between two people using...

13 years ago

Published


Visualizing Cody
Because of the amount of traffic that it gets, Cody generates a tremendous amount of interesting data every day. Most of it...

13 years ago

Thumbnail

Published


Giving by Taking: File Exchange Acknowledgment Trees
One of the virtues of a good programmer (as observed by Larry Wall) is laziness. Don’t write code that you don’t have to!...

13 years ago

Thumbnail

Solved


Sum the Digits of a Number
Given an integer, sum the digits repeatedly until you end up with a single value less than 10. For example, if you add the di...

13 years ago

Solved


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

13 years ago

Solved


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

13 years ago

Published


Football Squares with MATLAB
h1 { font-size:18pt; } h2.titlebg { font-size:13pt; } h3 { color:#4A4F55; padding:0px; margin:5px 0px 5px;...

13 years ago

Thumbnail

Solved


Happy 2013...
Happy 2013, everyone! An interesting tidbit about 2013 is that it is the first year since 1987 to contain four different digits...

13 years ago

Problem


Eliminate Polysyllabics: Long live short words!
Given a string s1, return s2 in which all the words with more than one syllable have been removed. To make things simple, we ...

13 years ago | 4 | 150 solvers

Published


MATLAB Christmas Trees
While online doing some last minute shopping, I found some Christmas trees that were created using MATLAB.  I thought they...

13 years ago

Thumbnail

Problem


Property dispute!
Two neighbors have rectangular plots of land A and B. The surveyors give you the coordinates of each. If they overlap, there is ...

13 years ago | 3 | 41 solvers

Solved


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

13 years ago

Problem


Crossing to Kissing - Untangle the Lines
Turn lines that cross into lines that kiss. You will be given two lines that cross at some point. Your job is to untangle the...

13 years ago | 1 | 34 solvers

Solved


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

13 years ago

Published


Trendy now gets data hourly, desktop gadgets & more
Trendy is a MATLAB Central application that scrapes a time series dataset from website(s) you specify. Trendy uses this...

13 years ago

Thumbnail

Load more