Solved

Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...

1 year ago

Published

A Frightful Error
It’s late October. The nights are getting longer (for us North Americans, anyway), and vampire processes are sucking the...

2 years ago

Published

Acquire Images from Your Device Camera with MATLAB Mobile
Bringing Your Images and MATLAB Mobile Closer Together In our last blog post, we started laying out our first phase of...

2 years ago

Solved

Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

2 years ago

Published

New! Badges on the File Exchange
Chad Greene has contributed 171 files (and counting) to the File Exchange. The man is a File Exchange legend. But you know...

2 years ago

Solved

Create a "+" flag
Given two odd numbers, [m, n], return a matrix of size m x n which has all elements of the centre column and centre row set as 1...

2 years ago

Published

Mathematical Visualization with Plywood and Power Tools
This is Hollis Potter (he’s the one on the right). He works on the Community team here at MathWorks. On the table next to...

2 years ago

Published

Who Named Moler’s Matrix?
One of the nice things about showing up early is getting things named after you. See that bouncy gazelle over there? Let’s...

2 years ago

Published

There you are, sprawled on a poolside lounge chair in the afternoon heat as reggae music drifts by. Gentle splashing sounds...

2 years ago

Published

New on MATLAB Central: Power Electronics and a Japanese Blog
Here are some Estonian phrases that might prove useful some day. Kas ma saan kohvi palun? Can I have some coffee,...

2 years ago

Published

Community Q&A – Owen Paul
Owen Paul is a MathWorks Student Ambassador who attends Florida State University.  Here is a Q&amp;A with Owen.           ...

2 years ago

Published

Anna works in the Interdimensional Transport Group at Yoyodyne Propulsion Systems. Her team of ten engineers is using a lot...

2 years ago

Published

Most Popular Files in 2018
Here are the most popular File Exchange submissions from the Community, MathWorks Staff, and MathWorks Teams in 2018 by...

2 years ago

Published

Smartphone cameras continue to disrupt digital photography. If you are a casual photographer, over the years you have...

2 years ago

Published

If you have been to MATLAB Answers recently you have noticed the name Madhan Ravi climbing up the Leaderboard. Here is a...

2 years ago

Published

Why You Should Date Someone Who Knows MATLAB
Happy Valentines Day! I have been working with the MATLAB community since we launched MATLAB Central wa-aaay back at the...

2 years ago

Solved

Is X a Fibonacci Matrix?
In honor of Cleve's new blog and post: <http://blogs.mathworks.com/cleve/2012/06/03/fibonacci-matrices/> Is X a Fibonacci ...

2 years ago

Solved

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

2 years ago

Published

New Cody Features: Customized Groups and Solve Later
Today I want to tell you about two new features in Cody. One of them, Customized Groups, I’ve been anticipating with...

2 years ago

Solved

(Linear) Recurrence Equations - Generalised Fibonacci-like sequences
This problem is inspired by problems <http://uk.mathworks.com/matlabcentral/cody/problems/2187-generalized-fibonacci 2187>, <htt...

2 years ago

Solved

How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...

2 years ago

Solved

Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

2 years ago

Solved

Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

2 years ago

Solved

Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

2 years ago

Solved

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

2 years ago

Published

Football Squares Updated for Superbowl LIII
I wrote about Football Squares a long time ago. In light of the upcoming Superbowl, a few people have asked me to brush up...

2 years ago

Solved

Iccanobif numbers 1
There are a lot of problems in Cody that deal with Fibonacci numbers (1, 1, 2, 3, 5, 8, 13, 21 etc...) so let's turn things arou...

2 years ago

Published

Women in Tech at MathWorks
This post was assembled by Anoush Najarian. Anoush works at MathWorks as a performance engineer. Her job is to make MATLAB...

2 years ago

Published

GHC 18, Grace Hopper Celebration of Women in Computing
In this post, MathWorks GHC 18 team member Penny Anderson shares some thoughts about her experience at GHC in Houston....

2 years ago

Published

A New Rich Editor for MATLAB Answers
This post comes to us courtesy of David Wey. David leads the MathWorks Online Community group in our Natick office. If you...

2 years ago