当前位置:网站首页>Matlab uses plotting method for data simulation and simulation
Matlab uses plotting method for data simulation and simulation
2022-08-05 00:32:00 【matlab_python22】
In matlab, we can use a lot of plotting methods to simulate and approximate the original data
The procedure is at the end of the article

It can be seen that the original data is obtained
If the original data is approximated with the real data, the results can be obtained as follows

It can be seen that this time the drawing point is better

Some friends will say, how to connect them in a straight line? There is a way. The result is as follows

Programs
clc
clear
close all
load('capall.mat')
x1=cap5(1:16)+rand(1,16);
figure
plot(x1,'->')
holdon
xx=[]
yy=[]
for i=1:16
[x,x2] = ginput(1)
plot(x,x2,'-*')
xx=[xx,x]
yy=[yy,x2]
hold on
end
figure
plot(xx,yy,'-*')
hold on
plot(x1)
legend('seconds','real')
边栏推荐
猜你喜欢

Cloud native - Kubernetes 】 【 scheduling constraints

what?测试/开发程序员要被淘汰了?年龄40被砍到了32?一瞬间,有点缓不过神来......

数据类型及输入输出初探(C语言)

数据类型-整型(C语言)

oracle创建表空间

论文解读( AF-GCL)《Augmentation-Free Graph Contrastive Learning with Performance Guarantee》

2 用D435i运行VINS-fusion

leetcode:266. 回文全排列

在线中文姓名生成工具推荐

怎样进行在不改变主线程执行的时候,进行日志的记录
随机推荐
电子行业MES管理系统的主要功能与用途
关于我仔细检查审核过关于工作人员页面,返回一个所属行业问题
软件开发工具的技术要素
tiup uninstall
软件测试面试题:一套完整的测试应该由哪些阶段组成?
E - Distance Sequence (prefix and optimized dp
网站最终产品页使用单一入口还是多入口?
Software testing interview questions: What are the seven-layer network protocols?
英特尔WiFi 7产品将于2024年亮相 最高速度可达5.8Gbps
ARC129E Yet Another Minimization 题解 【网络流笔记】
Metasploit-域名上线隐藏IP
Zombie and orphan processes
How to automatically push my new articles to my fans (very simple, can't learn to hit me)
Software Testing Interview Questions: What aspects should be considered when designing test cases, i.e. what aspects should different test cases test against?
Software testing interview questions: What are the strategies for system testing?
软件测试面试题:负载测试、容量测试、强度测试的区别?
canvas 高斯模糊效果
leetcode: 266. All Palindromic Permutations
ansible学习笔记分享-含剧本示例
数据类型及输入输出初探(C语言)