how to define a variable with dates

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?

 采纳的回答

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

版本

R2020b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by