当前位置:网站首页>matlab 采用描点法进行数据模拟和仿真
matlab 采用描点法进行数据模拟和仿真
2022-08-05 00:22:00 【matlab_python22】
在matlab中 我们可以采取很多的描点法进行仿真 逼近原始数据
程序在文章的最后
可以看出是得到了原始数据
如果吧原始数据和真实的数据进行逼近,可以得到的结果如下
可以看出 这次的描点想是较好的
有小伙伴会说,怎么将其吧直线连接起来呢 是有办法的啊 结果如下所示
程序
clc
clear
close all
load('capall.mat')
x1=cap5(1:16)+rand(1,16);
figure
plot(x1,'->')
hold on
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('秒点','real')
边栏推荐
- 日志(logging模块)
- What is next-generation modeling (with learning materials)
- 标识符、关键字、常量 和变量(C语言)
- 进程间通信和线程间通信
- Getting started with 3D modeling for games, what modeling software can I choose?
- 机器学习(公式推导与代码实现)--sklearn机器学习库
- KT148A voice chip ic working principle and internal architecture description of the chip
- leetcode经典例题——单词拆分
- oracle创建用户
- How to automatically push my new articles to my fans (very simple, can't learn to hit me)
猜你喜欢
随机推荐
Zombie and orphan processes
leetcode:269. 火星词典
【Valentine's Day special effects】--Canvas realizes full screen love
IDEA file encoding modification
2022杭电多校第三场 K题 Taxi
leetcode:267. 回文排列 II
软件测试面试题:软件测试类型都有哪些?
软件测试面试题:测试用例通常包括那些内容?
ARC129E Yet Another Minimization 题解 【网络流笔记】
《MySQL入门很轻松》第2章:MySQL管理工具介绍
动态上传jar包热部署
数据类型-整型(C语言)
【LeetCode】图解 904. 水果成篮
2022杭电多校第一场 1004 Ball
#yyds dry goods inventory #Switching equipment serious packet loss troubleshooting
tiup status
2022牛客多校训练第二场 J题 Link with Arithmetic Progression
Modelers experience sharing: model study method
Senior game modelers tell newbies, what are the necessary software for game scene modelers?
leetcode:266. 回文全排列