当前位置:网站首页>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')
边栏推荐
- could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
- tiup telemetry
- Software test interview questions: BIOS, Fat, IDE, Sata, SCSI, Ntfs windows NT?
- 简单的顺序结构程序(C语言)
- canvas 高斯模糊效果
- 2022杭电多校第三场 K题 Taxi
- [idea] idea configures sql formatting
- 2022杭电多校训练第三场 1009 Package Delivery
- Three tips for you to successfully get started with 3D modeling
- The master teaches you the 3D real-time character production process, the game modeling process sharing
猜你喜欢
随机推荐
软件测试面试题:软件验收测试的合格通过准则?
Zombie and orphan processes
翁恺C语言程序设计网课笔记合集
redis可视化管理软件Redis Desktop Manager2022
NMS原理及其代码实现
TinyMCE禁用转义
机器学习(公式推导与代码实现)--sklearn机器学习库
E - Many Operations (按位考虑 + dp思想记录操作后的结果
英特尔WiFi 7产品将于2024年亮相 最高速度可达5.8Gbps
2022杭电多校第一场 1004 Ball
tiup uninstall
matlab 采用描点法进行数据模拟和仿真
gorm联表查询-实战
Software Testing Interview Questions: What aspects should be considered when designing test cases, i.e. what aspects should different test cases test against?
2022 Multi-school Second Session K Question Link with Bracket Sequence I
2022牛客多校训练第二场 J题 Link with Arithmetic Progression
测试经理要不要做测试执行?
10 种常见的BUG分类
tiup telemetry
Software testing interview questions: What is the difference between load testing, capacity testing, and strength testing?









