disthist

버전 1.0.0.0 (17.1 KB) 작성자: Chad Greene
Simply show a histogram of distances between geographic waypoints.
다운로드 수: 516
업데이트 날짜: 2014/6/19

라이선스 보기

This function creates a histogram of distances between geolocated waypoints assuming a great circle path on the WGS84 ellipsoid.

Syntax

disthist(lat,lon)
disthist(lat,lon,distances_or_nbins)
n = disthist(...)
[n,xout] = hist(...)

Description

disthist(lat,lon) without output arguments produces a histogram plot of the output of distances between points given by geographic coordinates lat and lon. disthist distributes the bins along the x-axis between the minimum and maximum values of distances between points in meters.

disthist(lat,lon,distances_or_nbins) specifies an array of distances between points (equivalent to x in the hist function) or the scalar number of bins. By default distances_or_nbins = 10.

n = disthist(...) does not produces a histogram plot, but only returns the number of elements in each bin as described above.

[n,xout] = hist(...) returns vectors n and xout containing the frequency counts and the bin locations. You can use bar(xout,n) to plot the histogram.

인용 양식

Chad Greene (2024). disthist (https://www.mathworks.com/matlabcentral/fileexchange/46996-disthist), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2012b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Data Analysis에 대해 자세히 알아보기
도움

받음: interpm2

줌: pathdist

Community Treasure Hunt

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

Start Hunting!

disthistdemo/html/

버전 게시됨 릴리스 정보
1.0.0.0