解決済み


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

8年以上 前

解決済み


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

8年以上 前

解決済み


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

8年以上 前

解決済み


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

8年以上 前

解決済み


Calculate the Levenshtein distance between two strings
This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...

8年以上 前

公開済み


Community Q&A: Manu BN
Manu BN is the author of 14 files on File Exchange including some popular submissions. &nbsp;Please enjoy this virtual...

8年以上 前

Thumbnail

公開済み


Deep Learning and Cody
I want to mention two exciting developments, one last week and one this week. Last week, image processing blogger Steve...

8年以上 前

Thumbnail

解決済み


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

8年以上 前

解決済み


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

8年以上 前

公開済み


A Galloping Logo Zoetrope
What is a zoetrope? A zoetrope is a simple kind of animation, first popularized in the 1800s. Take twelve images of a...

8年以上 前

Thumbnail

公開済み


Text Alignment, Dinosaurs, and Orators
When we’re creating new pages for our community apps, our designers sometimes add some sample text as part of the review...

8年以上 前

Thumbnail

解決済み


Use a timetable to analyze a train timetable (Part 2)
Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Yo...

8年以上 前

公開済み


New in Answers: Top Contributors & Staff
You’re the new kid in school. It’s lunch time. You got a slice of pizza and a pile of tater tots from the food line, but...

9年弱 前

Thumbnail

解決済み


"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

9年弱 前

公開済み


Answers Badges Are Here!
Maybe, like me, you got an email this week telling you that you won a badge for your contributions to MATLAB Answers. And...

9年弱 前

Thumbnail

解決済み


Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

9年弱 前

公開済み


Cody Turns One Million
Suppose I give you an image like this little smiley face. And now I ask you to stretch it vertically and horizontally by...

9年弱 前

Thumbnail

公開済み


Is It Just Me? Status Anxiety and the Application Status Page
Here’s you, getting stuff done: Click… click. Click-click. Type typey type. Click. And then: Click… click, click… and...

9年弱 前

Thumbnail

公開済み


Community Q&A: Massimo Zanetti
During the fall of 2016 MathWorks hosted a Scavenger Hunt and Triathlon to celebrate the 15th Anniversary of MATLAB...

約9年 前

Thumbnail

公開済み


The Bacterium and the Blog – New Life on MATLAB Central
Do you have aphid problems? Aphids are perfectly nice little insects with one unfortunate habit: they have a mighty...

約9年 前

Thumbnail

回答済み
How to get data from web?
URLREAD expects US-style usage of commas and stops in numbers. So in a number like 150,228.17 it will ignore the comma and retur...

約9年 前 | 0

| 採用済み

公開済み


Robot Races Roll After Hours at the Museum
Our post today is from Jeff Homer of our UK office in Cambridge, England. Jeff is an Application Support Engineer with a...

約9年 前

Thumbnail

公開済み


Add-Ons and the File Exchange
Earlier today I was pondering the fact that I needed some new business cards when I had a sudden brain storm. A sort of a...

約9年 前

Thumbnail

公開済み


What Is On Stuart’s Table? Code Along and Find Out
One summer when I was in high school I spent a lot of time playing ping-pong at a summer camp. Between games, I would watch...

約9年 前

Thumbnail

公開済み


ThingSpeak: Your MATLAB-Powered Window on the World
Have you tried ThingSpeak yet? It’s cool, it’s free, and it talks to MATLAB. I like all three of those things. Let me show...

約9年 前

Thumbnail

解決済み


Can the given sides form a triangle?
Can the three given sides form a triangle?

約9年 前

公開済み


Results of the St Andrews Programming Contest
Last month we collaborated with Luke Rendell and Elena Miu of St Andrews University on a programming contest (hosted at...

約9年 前

Thumbnail

公開済み


Top 10 Files in 2016
As we move into 2017, lets take a look back at 2016.&nbsp; Here are the most popular files on File Exchange in 2016 based...

9年以上 前

Thumbnail

公開済み


Coding in a Petri Dish: the MATLAB Programming Contest Strikes Again!
Some of you will&nbsp;remember a semi-annual programming contest that we ran here from 1999 to 2012. Some of you...

9年以上 前

Thumbnail

公開済み


MATLAB at the Science Museum
Here is a place I want to visit. Image credit: Jody Kingzett It’s the new mathematics gallery (known as Mathematics: The...

9年以上 前

Thumbnail

さらに読み込む