how to define a variable with dates

1 view (last 30 days)
I want to define a variable "NYC" that will take a value for each day of 1/1/2021 to 3/31/2021. How can one do this?

Accepted Answer

Steven Lord
Steven Lord on 14 Apr 2021
Adapt the example on this documentation page. It won't require a lot of modification.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!