![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
coding
Gran Sunny
静静积累,追求卓越
展开
-
经纬度相关计算公式
一、1、计算两点之间球面距离matlab版function [dist] = computeDistanceLatLon(lon1,lat1,lon2,lat2) pi = 3.14159265358979324; Rc = 6378137.0; Rj = 6356725.0; DEG2RAD = pi / 180.0; r_lat_1 = lat1 * DEG2RAD;...原创 2020-02-23 10:49:51 · 7432 阅读 · 1 评论 -
Matlab绘图-读取文件并进行曲线绘制
一、文件读取文件保存成csv,或者txt,逗号分割;res = readtable('/User/xxx/path/file.csv')size = height(res)二、绘制曲线figure(1)plot(res.x1(start_index:end_time),res.y1(start_index:end_time),'r-*','MarkerSize',5)ho...原创 2020-02-23 10:40:54 · 3248 阅读 · 1 评论 -
git常用命令
1、Git 添加错误之后撤销commit 或者回滚(1) git log 查找 head(2)git reset --soft <commit>(3)git reset –hard 8ff24a6803173208f3e606e32dfcf82db9ac84d82、合并master分支所有改动git checkout master && git...原创 2020-02-05 18:57:14 · 159 阅读 · 0 评论 -
在编译google protobuf原码时出现错误
在编译google protobuf原码时出现错误In function `google::protobuf::DescriptorPool::NewPlaceholderWithMutexHeld(std::string const&, google::protobuf::DescriptorPool::PlaceholderType) const':descriptor.cc:...原创 2019-11-27 16:10:13 · 3208 阅读 · 0 评论