How to create a %of time vs %of area plot
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
0 votes
Share a link to this question

Accepted Answer
0 votes
- How are you calculating area? You have latitude and longitude, and distance (and thus area) is not linear with latitude and longitude. You didn't indicate that you had a separate matrix that stores the actual latitude and longitude values. Does that mean you are OK assuming that a 1x1 square in latitude/longitude is a uniform area or do you want to take into account the actual latitude and longitude values? To do the latter, you likely will need the Mapping Toolbox to do the correct area calculations.
- Are your 1000x1000 locations a uniform grid of locations, or are they a random collection of 1 million data points. In other words, can you simply count the number of values above the noise threshold to get an approximation of area, or do you need to take into account that some data points represent larger areas than others?
- I assume you are interested in what percentage of time a single point exceeds the noise threshold, but that isn't specified. Imagine an ambulance driving down the street as the single source of noise, and the volume of the ambulance is such that it causes an area equal to 10% of your test area to exceed the threshold. At any one point in time the same area will exceed the noise threshold (10%), but that area will move, so one specific location may only exceed the noise threshold for a short time window. In that example, your graph could have a single point at 10% area for 100% of the time. Or, because the ambulance is moving, it could have a single point at 10% area at a much lower %time because any specific location only exceeded the threshold for a short time. I assume you want the later, not the former.

6 Comments
Share a link to this comment
Share a link to this comment

Share a link to this comment

Share a link to this comment
Share a link to this comment
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Products
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)