Fortune Telling Collection - Zodiac Guide - Matlab, as a birthday input, output constellation program.
Matlab, as a birthday input, output constellation program.
Can be simplified
Function? Constellation (date)
Appointment list? =? 1? :? 12; ? % 1: 12 with corresponding date
CList? =? {'shooter',' shooter',' shooter', ...}? The corresponding constellation name is used here.
Index? =? Find (CList? & lt=? date, 1,' last '); ?
disp(CList { index });
- Related articles
- I want to see one of the twelve constellations, huh?
- Struggle hard, which constellations of women are blessed all their lives?
- What is Leo's favorite color?
- Analysis of King of Cancer _ King of Cancer
- Constellation men and women who have a good old age
- What constellation is 165438+ 10/4?
- Aries and 12 constellations fight _ Is Aries the strongest of the twelve constellations?
- What are the constellation women who don't live apart from their in-laws and don't get married after marriage?
- Chen's name is meaningful. What about Chen?
- How to fold a fan by hand