Info

This question is closed. Reopen it to edit or answer.

how to define a variable given no data?

1 view (last 30 days)
Dustin
Dustin on 23 Jun 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
how would you define a variable "years" that contains consecutive years from 1960-1980?

Answers (1)

Image Analyst
Image Analyst on 23 Jun 2014
years = 1960:1980;

Tags

Community Treasure Hunt

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

Start Hunting!