标题:请问MATLAB的Reducem函数的应用
只看楼主
每天的每天
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2007-4-26
 问题点数:0 回复次数:5 
请问MATLAB的Reducem函数的应用
我从MATLAB中提取出中国大陆的边境地图,它的大陆地区由30000个点组成,因为课题的需要,它的精度太高。数据量太大,因此需要在保持一定精度前提下减少地图的细节,要由MATLAB的Reducem函数完成。
现在想请教各位高手,该怎么用此函数。求教程序!!!!
搜索更多相关主题的帖子: MATLAB Reducem 函数 应用 
2007-04-26 13:53
abingchem
Rank: 6Rank: 6
等 级:贵宾
威 望:24
帖 子:716
专家分:0
注 册:2004-12-30
得分:0 

先用help试试


此人已消失
2007-04-26 19:06
每天的每天
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2007-4-26
得分:0 
用了,可是照着例子做,它老是说错误,我都很无奈了。。。。。。。
2007-04-27 09:36
每天的每天
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2007-4-26
得分:0 
请斑竹关注一下这个问题,已经很久没解决了。。。。。。。。。。。。。。
2007-05-21 13:27
每天的每天
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2007-4-26
得分:0 
敬请!!!!!!!!!!!!!!!!!!!!!!11

2007-05-21 13:27
seidel
Rank: 4
等 级:贵宾
威 望:11
帖 子:217
专家分:20
注 册:2007-1-31
得分:0 

使用help ,它上面说的很清楚啊!不知道你说的错误错在哪里?
REDUCEM Reduce the number of points in vector data

[latout,lonout] = REDUCEM(latin,lonin) reduces the number of points
in vector map data using the Douglas-Peucker line simplification
algorithm. This method recursively subdivides a polygon until a
run of points can be replaced by a straight line segment, with no
point in that run deviating from the straight line by more than the
tolerance. In this case the tolerance is computed automatically.

[latout,lonout] = REDUCEM(latin,lonin,tol) uses the provided
tolerance. The units of the tolerance are degrees of arc on the surface
of a sphere.

[latout,lonout,cerr] = REDUCEM(...) also returns a measure of the
error introduced by the simplification. Cerr is the difference in
the arc length of the original and reduced data, normalized by the
original length.

[latout,lonout,cerr,tol] = REDUCEM(...) also returns the tolerance
used in the reduction. Useful when the tolerance is computed
automatically.
你再仔细的看看说明,不知道你到底哪里出错,所以也是无能为力啦!


究竟离别只是一场退出还是美好记忆的延续,    最美好的爱究竟是成全还是守候?
2007-05-21 14:14



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-135131-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.102903 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved