Published


Introducing Community Profile Pages
This week, guest-blogger David Wey welcomes the new community profile pages. David is a Senior Developer for MathWorks...

11 years ago

Thumbnail

Published


Robot Game-Playing in MATLAB – Part 2
Last week we showed how to use a Monte Carlo approach to write a program capable of playing Tic Tac Toe. But that was just...

11 years ago

Thumbnail

Solved


pay it forward
Return any number (integer between 0 and 65535) You will pass this problem if you are the *second* person to choose that nu...

11 years ago

Published


Robot Game-Playing in MATLAB
A story about just-in-time expertise. Sometimes the best learning is no learning. COMPUTERS, CHESS, AND GO I read an...

11 years ago

Thumbnail

Problem


Simulate one complete step in the Biham–Middleton–Levine traffic model
The <http://en.wikipedia.org/wiki/Biham%E2%80%93Middleton%E2%80%93Levine_traffic_model Biham–Middleton–Levine traffic model> is ...

11 years ago | 7 | 35 solvers

Published


MATLAB Onramp
In the last post, Wendy Fullam told us about MATLAB Examples, where you could see working examples and pick apart the code...

11 years ago

Thumbnail

Solved


Change Vector Value
Change the element of the vector with respect to the element of the direction vector If the element of the direction vecto...

11 years ago

Published


Introducing MATLAB Examples
This week, guest-blogger Wendy Fullam is trumpeting the arrival of a new Support page feature. Wendy is the Technical...

11 years ago

Thumbnail

Solved


How Many Months Until It's Today Again?
Given a particular date, calculate how many months must pass before that same day of the month occurs on the same day of the wee...

11 years ago

Problem


How Many Months Until It's Today Again?
Given a particular date, calculate how many months must pass before that same day of the month occurs on the same day of the wee...

11 years ago | 4 | 131 solvers

Published


MATLAB and Git
This week we hear from Toshi Takeuchi about how to take advantage of MATLAB’s recent improvements to Git integration. Toshi...

11 years ago

Thumbnail

Solved


Convert to Binary Coded Decimal
Convert from decimal representation to <http://en.wikipedia.org/wiki/Binary-coded_decimal Binary Code Decimal> (or BCD) represen...

11 years ago

Published


Acquire Data from Android Device Sensors with MATLAB Mobile
With the new MATLAB® Support Package for Android™ Sensors, you can now use MATLAB Mobile™ to acquire data from the sensors...

11 years ago

Thumbnail

Published


Welcome Mike!
I am very excited to welcome a new blogger to MATLAB Central: Mike Garrity is going to be writing about graphics on the...

11 years ago

Thumbnail

Published


Expo Conversations – Part 2
This is a continuation of the last post (see Expo Conversations – Part 1), in which we learned how the MathWorks UK office...

11 years ago

Thumbnail

Problem


Determine the Result of a Move in Reversi
Note: This is closely related to <http://www.mathworks.com/matlabcentral/cody/problems/2538-find-the-next-legal-move-in-reversi ...

11 years ago | 2 | 21 solvers

Published


Expo Conversations – Part 1
Plenty of people talk about building cool things, but how many of us really do it? Sure, you can do amazing things these...

11 years ago

Thumbnail

Problem


Find the Next Legal Move in Reversi
<http://en.wikipedia.org/wiki/Reversi Reversi>, also known as Othello, is a game in which reversible white/black chips are place...

11 years ago | 2 | 23 solvers

Published


Blogs Improvements: Search with Categories and Print a Post
Our latest update has two features that should be of interest to blog readers: Searching with Categories: Blog authors can...

11 years ago

Thumbnail

Published


A Chat with Chebfun’s Nick Trefethen
Today we interview Nick Trefethen, Professor of Numerical Analysis, University of Oxford. Photo by Sara Kerens Nick is...

11 years ago

Thumbnail

Published


Weather Prediction – How Far Can You Go?
This summer my mother-in-law is renting a house on a lake in New Hampshire. Looking at the calendar, my wife said: "The...

11 years ago

Thumbnail

Solved


Sort the vector with the given index
Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

12 years ago

Published


Enhancing Tables with Gareth
Today we have a guest post by Gareth Thomas. Gareth is Academic Marketing Manager for the Education Business in the...

12 years ago

Thumbnail

Solved


Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

12 years ago

Solved


Tic Tac Toe Solver
Create a function that checks n number of tic tac toe boards housed in a 3x3xn matrix where the x's are represented as 1's (and ...

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

12 years ago

Solved


row-th maximum row elements
Input a is a square matrix of size n*n. Output vector v is of size 1*n. The ith element of output v is the ith largest element o...

12 years ago

Published


Plotly Plots MATLAB
Here’s a quick post to tell you about a nifty service called Plotly. The basic idea is that you can create nice-looking...

12 years ago

Thumbnail

Problem


Calendar Matrix
Return a calendar matrix for the given values of month and year. Assume that Sunday is the first day of the week. The resulting ...

12 years ago | 3 | 161 solvers

Published


What’s that in the sky? Build a MATLAB Planetarium
I look up at the sky just after sunset and I see an especially bright star. It's probably a planet. But which one?... read...

12 years ago

Thumbnail

Load more