The problem of removing some data from a large data file

Hi,
I'm trying to reduce a data file by suing some logic. Lets say I have x = 1:1:100 want to define a mid point lets say 50 and then a radius lets say 20km (each unit number from 50 in all directions represents 5km. thats is 51 = 5km away 52 = 10 Km away 49 = 5Km away and son on.
Can anybody help me :)
Thanks

3 件のコメント

Geoff Hayes
Geoff Hayes 2014 年 12 月 4 日
Amberly - please describe how your logic fits with your data file. How is your file formatted? What type of data does it contain? How does the 20km fit with your 50? Do you iterate from 30 to 70?
amberly hadden
amberly hadden 2014 年 12 月 4 日
Hi Geoff- I have an earthquake data. A grid file with 30 hundrad thousands values. Now I want to take coordinates (lat lon) of epicentre and use them as a refrence point to define a square or a circle so that points close to epicentre (with in range of lets say 1 dgree) will remain and rest would be deleted out. Thanks
Geoff Hayes
Geoff Hayes 2014 年 12 月 5 日
Hi Amberly - can you provide a small sample of your data as that might allow someone to provide a solution.

回答 (0 件)

この質問は閉じられています。

質問済み:

2014 年 12 月 3 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by