解決済み

Find the distance between runs

Another question inspired by the <http://uk.mathworks.com/matlabcentral/answers/?s_tid=gn_mlc_an answers forum>: A vector of ...

約1年 前

公開済み

New Cody Contest Underway

Because of the amazing contributions from community members like you, Cody has lots and lots of interesting problems to...

約1年 前

解決済み

Project Euler: Problem 5, Smallest multiple

2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

1年以上 前

公開済み

Images in Cody Problems

Today I get to tell you about a feature I’ve been lusting after for years: proper rich text in Cody with embedded images....

1年以上 前

公開済み

Double Your Pleasure – Fun with Shifty Digits

You’re in for a guest-blogging treat today. But first… What is the relationship between the number 1947 and 7194? Look...

1年以上 前

公開済み

Cody Problem Visualization, Revisited

Way back in 2013 I did a blog post about visualizing Cody problems. The idea was to take various metrics for each problem...

1年以上 前

公開済み

Chan Zuckerberg Initiative Funding Open for MATLAB Community Toolboxes

Today’s post is a guest entry from Vijay Iyer, Neuroscience Community Liaison at MathWorks. MATLAB users in research have a...

1年以上 前

公開済み

MathWorks Documentation has a fresh look: Check out our new Help Center

You may have noticed that MATLAB Online Documentation now sports a different UI. For this post, I’d like to welcome Wendy...

1年以上 前

公開済み

Circles All the Way Down

This is a story about how ideas and code bounce around our shared social spaces. This one went from Twitter to GitHub to...

1年以上 前

解決済み

Ordinal numbers

Given an integer n, return the corresponding ordinal number as a character string. For example, ord(1)='1st' ord(2)=...

1年以上 前

解決済み

Split a string into chunks of specified length

Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

1年以上 前

解決済み

Cell Counting: How Many Draws?

You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

1年以上 前

解決済み

Guess Cipher

Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifm...

1年以上 前

送信済み

Private Cody Leaderboard

This code creates a private leaderboard for Cody players.

1年以上 前 | ダウンロード 1 件 |

解決済み

Successive zeros

Suppose n is the number of digits a number contains. Now, 12032 - is a valid n=5 digit number. But 10023 - is defined as i...

1年以上 前

解決済み

Create a vector of n alternating ones and zeros

Given n, your output should be a vector y of numbers such that the first number is 1 and the numbers following it alternate betw...

1年以上 前

解決済み

Find Elements in Range

Based on a question on <http://www.mathworks.com/matlabcentral/answers/ MATLAB Answers>. Find all the elements of a vector wh...

1年以上 前

解決済み

Pancake sorting

Sort a stack of pancakes by flipping them using spatula. * There are _N_ pancakes with diameters _1:N_. * Spatula can be ins...

1年以上 前

公開済み

Community Q&A – Kalyan Acharjya

Kalyan Acharjya has been contributing to MATLAB Answers since 2017. This past year his participation skyrocketed and he is...

1年以上 前

公開済み

Stay Connected using MATLAB and Simulink

Due to the global COVID-19 pandemic, engineers and scientists are finding themselves suddenly working from home or other...

1年以上 前

公開済み

New Decade, New MATLAB Mobile

You may have noticed that MATLAB Mobile now sports a different UI. For this post, I’d like to welcome Geeta Sonigra, our...

1年以上 前

公開済み

Nor’easters and Wind Roses

Where I live, in the northeast part of the United States, we have a special storm that goes by the name “nor’easter”. Do we...

1年以上 前

公開済み

Visualizing Square Roots with Elias Wegert

Quick, what’s the square root of -1? Okay, I know. That’s an easy one. But how about the square root of i? If it’s been a...

1年以上 前

公開済み

Leap Days on Mars

February 29th is right around the corner. It’s been hibernating for the past three years, snuggling in its secret den...

2年弱 前

公開済み

Head Over Heels in Love

This is what happens when two logarithmic spirals love each other very much. % Vary k from 1.5 to 3.5 k = 1.5; t =...

2年弱 前

公開済み

Community Q&A – Kelly Kearney

Kelly Kearney is a top contributor to MATLAB Answers and File Exchange. Here is a Q&A I did with Kelly who is a...

2年弱 前

公開済み

Rayner, BAE Systems, and Cody

This week we’re very fortunate to speak with Rayner Saggers. Rayner is a Senior Systems Engineer on the F-35 Program at BAE...

2年弱 前

解決済み

Summing Rows and Columns

Create a matrix y of size (n+1) whose last column's elements are the summation of the elements of all the other columns and last...

2年弱 前

公開済み

Crepuscular Calculations

Happy Crepusculus! Never heard of Crepusculus? I’ll come back to that later. Instead, let me begin with a fun fact: the...

約2年 前