For loop printed only last value.
9 views (last 30 days)
Show older comments
I want to display whole years 2011 to 2017 but i am getting only 2017.I attached my code snippet please correct my mistake.
4 Comments
KALYAN ACHARJYA
on 25 Jul 2018
More clarification needed, what you exactly looking for. You have said, getting 2017 only, but when I run the code, it shows 2016 also?
Answers (1)
shivani badodiya
on 25 Jul 2018
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!