Resuelto


Missing five
Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...

alrededor de 9 años hace

Resuelto


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

alrededor de 9 años hace

Resuelto


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

alrededor de 9 años hace

Resuelto


Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

alrededor de 9 años hace

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

alrededor de 9 años hace

Publicado


Limited Edition Laurels: Cody is Five!
Do you have what it takes to win this badge? A badge’s value derives in part from how hard it is to achieve. This right...

alrededor de 9 años hace

Thumbnail

Resuelto


How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Publicado


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

alrededor de 9 años hace

Thumbnail

Publicado


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

alrededor de 9 años hace

Thumbnail

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Publicado


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

alrededor de 9 años hace

Thumbnail

Publicado


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

alrededor de 9 años hace

Thumbnail

Resuelto


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

alrededor de 9 años hace

Publicado


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

alrededor de 9 años hace

Thumbnail

Resuelto


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

alrededor de 9 años hace

Publicado


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

más de 9 años hace

Thumbnail

Resuelto


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

más de 9 años hace

Publicado


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

más de 9 años hace

Thumbnail

Publicado


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

más de 9 años hace

Thumbnail

Publicado


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

más de 9 años hace

Thumbnail

Publicado


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

más de 9 años hace

Thumbnail

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

más de 9 años hace | 0

| aceptada

Publicado


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

más de 9 años hace

Thumbnail

Publicado


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

más de 9 años hace

Thumbnail

Cargar más