Find my birthday - MATLAB Cody - MATLAB Central

Problem 2198. Find my birthday

Difficulty:Rate
Given a birth date x, find my age when my birth day will fall on the same day as I was born. So if I was born on Monday, what age will I be when my birthday once again falls on a Monday.
There can be multiple outputs of this. You need to return first occurrence.

Solution Stats

40.63% Correct | 59.38% Incorrect
Last Solution submitted on May 13, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers80

Suggested Problems

More from this Author25

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!