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?

 Risposta accettata

Steven Lord
Steven Lord il 14 Apr 2021

0 voti

Adapt the example on this documentation page. It won't require a lot of modification.

Più risposte (0)

Categorie

Prodotti

Release

R2020b

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by