How to create a matrix?

2 views (last 30 days)
Aarti Soni
Aarti Soni on 17 May 2022
Commented: Aarti Soni on 18 May 2022
Hello everyon,
I want to creat a latitude and longitude matrix (180 X 360). The interval is given below:
longitude = 0.25:1:359.75;
latitude = -89.75:1:89.75;
Thanks in advance

Accepted Answer

Matt J
Matt J on 17 May 2022
Do you mean this?
Aarti Soni
Aarti Soni on 18 May 2022
It is not giving desired output

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by