Publié le


Happy Birthday MATLAB Central!
MATLAB Central launched 15 years ago, in the fall of 2001, and it’s been growing fast ever since. I’ve had a front row seat...

presque 10 ans il y a

Thumbnail

Publié le


Prettier Cody Code!
We did some web updates last night, and Cody emerged with a fresh coat of paint. As a result it’s more mobile-friendly. The...

presque 10 ans il y a

Thumbnail

Publié le


Getting By With a Little Help
Let’s say you’ve written some code that you think might worth adding to the File Exchange. But then you hesitate. Your...

environ 10 ans il y a

Thumbnail

Publié le


Numerical Analyst John D’Errico Takes a Stroll Through Cody
I think of the wise and generous John D’Errico as a computational philanthropist. After a long career as a numerical analyst...

environ 10 ans il y a

Thumbnail

Publié le


Flag Math on Bastille Day
Let me start with a graphical riddle. In what sense is the following equivalence true? To learn the answer, read on! I...

environ 10 ans il y a

Thumbnail

Publié le


File Exchange Alert: Your Help Is Needed!
Collaboration on software can be a lot of fun, but it can also be hard to motivate. For instance, you may be working on a...

environ 10 ans il y a

Thumbnail

Publié le


Searching for MATLAB Examples with Google
I want to show you a trick for finding entertaining MATLAB code. Of course I will always recommend that you start looking...

environ 10 ans il y a

Thumbnail

Publié le


The Great Ans Hack
Cody is a game that rewards you for calculating the same answer with less code. The very first Cody problem you...

environ 10 ans il y a

Thumbnail

Publié le


Soccer Passing Networks
I saw another fun MATLAB-related tweet go by, this time about soccer rather than doughnuts. The Euro 2016 tournament is...

environ 10 ans il y a

Thumbnail

Publié le


National Jelly-Filled Doughnut Day
National Doughnut Day was June 3rd. On that day, Sean Breckling was nice enough to tweet this to the universe of MATLAB...

environ 10 ans il y a

Thumbnail

Publié le


A New Name, A New Focus
This is the blog that used to be called "MATLAB Spoken Here." When we gave it that name, we were thinking it would be a good...

environ 10 ans il y a

Thumbnail

Problème


Frobenius McNugget Factorization
Mr. Frobenius McNugget is a peculiar man. As you might expect, he likes to eat Chicken McNuggets. But his love of number the...

environ 10 ans il y a | 16 | 43 solveurs

A résolu


Convert integer to base26 using letters
Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...

plus de 10 ans il y a

Problème


Breaking Bad Tiles (Spelling with Element Symbols)
Given a word, how you would spell it with element symbols from the periodic table? For instance, if given the string "Paper", yo...

plus de 10 ans il y a | 5 | 31 solveurs

A résolu


Number of occurrences of letter in a text
Given an input text either as a string or as a cell array of strings, return a (1 x 26) matrix containing the number of occurren...

plus de 10 ans il y a

Problème


Placing Beads Neatly in a Box
You are given a string of n black and white beads. Your job is to pack them neatly into a square box. "Neatly" in this case mean...

plus de 10 ans il y a | 8 | 18 solveurs

Problème


Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

plus de 10 ans il y a | 4 | 57 solveurs

A résolu


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

plus de 10 ans il y a

Publié le


Community Improvements: MATLAB Answers
The Community Team has launched a new landing page for MATLAB Answers. MATLAB Answers is a popular community resource for...

presque 11 ans il y a

Thumbnail

Problème


Find the Final State of an Abelian Sandpile
Let us define an <http://nautil.us/issue/23/dominoes/the-amazing-autotuning-sandpile Abelian sand pile> as a matrix that is only...

presque 11 ans il y a | 4 | 76 solveurs

Chaîne


Location of the Mary Maersk
The Mary Maersk is one of the largest container ships in the world. The location information shown here comes from https://www.v...

presque 11 ans il y a

Publié le


MATLAB Conference Australia & New Zealand 2015
This week’s blogger is Bradley Horton. Bradley is an engineer at MathWorks Australia who works with customers in the...

presque 11 ans il y a

Thumbnail

A soumis


Printing Variables to HTML Tables in Published Code
This file lets you display variables as HTML tables in your published MATLAB files.

presque 11 ans il y a | 1 téléchargement |

3.85714 / 5
Thumbnail

A résolu


This is a palindrome and so am I
A palindrome is a sequence of characters which reads the same backward or forward, for instance 'a man a plan a canal panama'...

environ 11 ans il y a

Question


How to import Excel data from a spreadsheet with cross-file references?
I have an Excel spreadsheet, call it Spreadsheet A, that I want to read into MATLAB. The Import Tool works well for this. Exc...

environ 11 ans il y a | 2 réponses | 0

2

réponses

Problème


Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...

environ 11 ans il y a | 16 | 951 solveurs

Publié le


Spotted: a Real MATLAB Fan
Apparently, it's not temporary....

environ 11 ans il y a

Thumbnail

A résolu


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

plus de 11 ans il y a

Publié le


Face Coder Product Preview
We don’t ordinarily talk about features under development, but today’s post comes from one of our internal product teams...

plus de 11 ans il y a

Thumbnail

Publié le


Let’s Code! Make a Cody Video
Ever seen a “Let’s Play” video, where somebody documents their own activity as they play a video game? They can be a lot of...

plus de 11 ans il y a

Thumbnail

Charger plus