当前位置:网站首页>m基于MATLAB-GUI的GPS数据经纬度高度解析与kalman分析软件设计
m基于MATLAB-GUI的GPS数据经纬度高度解析与kalman分析软件设计
2022-07-17 05:22:00 【我爱C编程】
目录
1.算法描述和部分源码
经度纬度和高度来自GPS信号的中的GPGGA的数据。所以提取这三个信息主要是对GPGGA中的数据进行整理。GPGGA的数据格式如下所示:
clc;
clear;
close all;
warning off;
DATA_TYPE = 'GPGGA';%选择需要保持的数据类型
fidin = fopen('data.txt','r');
%读取数据
tline = func_GPS_read(fidin);
%数据中的GPGGA部分的数据进行保存,其余数据去除,在实际中,你也可以改变下面的参数,选择其他数据
Save_data = func_save_usefull_data(tline,DATA_TYPE);
%提取维度
%数据读取
Dimensions = func_read_Dimensions(Save_data);
%去掉数据中的0值
Dimensions(find(Dimensions == 0)) = [];
%卡尔曼滤波
Dimensions_kalman = func_kalman(Dimensions);
figure;
subplot(211);plot(Dimensions);title('维度');
subplot(212);plot(Dimensions_kalman);title('维度kalman');
xlabel('times');
ylabel('Dimensions');
%提取经度
%数据读取
longitude = func_read_longitude(Save_data);
%去掉数据中的0值
longitude(find(longitude == 0)) = [];
%卡尔曼滤波
longitude_kalman = func_kalman(longitude);
figure;
subplot(211);plot(longitude);title('经度');
subplot(212);plot(longitude_kalman);title('经度kalman');
xlabel('times');
ylabel('longitude');
%提取高度
%数据读取
Height = func_read_Height(Save_data);
Height(find(Height == 0)) = [];
%卡尔曼滤波
Height_kalman = func_kalman(Height);
figure;
subplot(211);plot(Height);title('高度');
subplot(212);plot(Height_kalman);title('高度kalman');
xlabel('times');
ylabel('Height');
2.部分仿真图预览
3.源码获取方式
获得方式1:
点击下载链接:
【提供程序操作视频】m基于MATLAB-GUI的GPS数据经纬度高度解析与kalman分析软件设计
获取方式2:
博客资源项,搜索和博文同名资源。
获取方式3:
如果下载链接失效,加博主微信联系。
边栏推荐
猜你喜欢
Galaxy Kirin server system building local and LAN Yum source
Ucloud Shanghai arm cloud server evaluation
m基于matlab的BTS天线设计,带GUI界面
UCloud(优刻得) 上海 ARM 云服务器评测
Application case of CS brand SD NAND in air quality inspection industry
阿里云 杭州 ARM 云服务器性能评测
Performance evaluation and comparison of Huawei cloud Kunpeng arm ECs and x86 ECS
Xiaodi network security - note encryption coding algorithm (6)
What is tsd/qsd? What is CS Genesis SD NAND?
Performance evaluation and comparison of lightweight application servers of major cloud service manufacturers, Alibaba cloud, Tencent cloud, Huawei cloud, and ucloud
随机推荐
Minecraft基岩版BDS开服教程
毛毛上班(递推)
STEAM游戏高主频i9-12900k 搭建CS:GO服务器
文本三劍客之awk命令--截取
闭包与装饰器
银河麒麟桌面操作系统V10SP1(X86)安装SQL Developer
【自动化测试】——robotframework实战(一)搭建环境
数据保护/磁盘列阵RAID保护 IP段103.103.188.xxx
slackware 14.2 安装KDE 5 plasma
IP103.53.125.xxx IP地址段 详解
Regular expression, generator, iterator
Sed command of text three swordsman -- text replacement; Grep command - text filtering
Steam游戏服务器配置选择 IP
Yuanzi racehorse.
Mapping rule configuration of zuul route
解决sonar的单元测试的覆盖率会为0问题
[ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
网站被劫持了怎么办?
PyTorch学习日记(四)
函数与随机数