Publicado


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

casi 10 años hace

Thumbnail

Publicado


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

casi 10 años hace

Thumbnail

Publicado


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

alrededor de 10 años hace

Thumbnail

Publicado


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

alrededor de 10 años hace

Thumbnail

Publicado


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

alrededor de 10 años hace

Thumbnail

Publicado


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

alrededor de 10 años hace

Thumbnail

Publicado


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

alrededor de 10 años hace

Thumbnail

Publicado


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

alrededor de 10 años hace

Thumbnail

Publicado


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

alrededor de 10 años hace

Thumbnail

Publicado


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

alrededor de 10 años hace

Thumbnail

Problema


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

alrededor de 10 años hace | 16 | 43 solvers

Resuelto


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

más de 10 años hace

Problema


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

más de 10 años hace | 5 | 31 solvers

Resuelto


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

más de 10 años hace

Problema


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

más de 10 años hace | 8 | 18 solvers

Problema


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

más de 10 años hace | 4 | 56 solvers

Resuelto


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

más de 10 años hace

Publicado


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

casi 11 años hace

Thumbnail

Problema


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

casi 11 años hace | 4 | 76 solvers

Canal


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

casi 11 años hace

Publicado


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

casi 11 años hace

Thumbnail

Enviada


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

casi 11 años hace | 1 descarga |

3.85714 / 5
Thumbnail

Resuelto


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

alrededor de 11 años hace

Pregunta


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

alrededor de 11 años hace | 2 respuestas | 0

2

respuestas

Problema


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

alrededor de 11 años hace | 16 | 951 solvers

Publicado


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

alrededor de 11 años hace

Thumbnail

Resuelto


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

más de 11 años hace

Publicado


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

más de 11 años hace

Thumbnail

Publicado


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

más de 11 años hace

Thumbnail

Resuelto


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

más de 11 años hace

Cargar más