当前位置:网站首页>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')
边栏推荐
- tiup uninstall
- "No title"
- tiup status
- Senior game modelers tell newbies, what are the necessary software for game scene modelers?
- KT148A voice chip ic working principle and internal architecture description of the chip
- Redis visual management software Redis Desktop Manager2022
- 子连接中的参数传递
- node使用redis
- 软件测试面试题:做好测试计划的关键是什么?
- 【unity编译器扩展之模型动画拷贝】
猜你喜欢
oracle创建用户以后的权限问题
leetcode: 266. All Palindromic Permutations
Cloud native - Kubernetes 】 【 scheduling constraints
Three tips for you to successfully get started with 3D modeling
【LeetCode】Summary of Two Pointer Problems
leetcode:266. 回文全排列
QSunSync 七牛云文件同步工具,批量上传
性能测试如何准备测试数据
node使用redis
《WEB安全渗透测试》(28)Burp Collaborator-dnslog外带技术
随机推荐
软件测试面试题:黑盒测试、白盒测试以及单元测试、集成测试、系统测试、验收测试的区别与联系?
"Relish Podcast" #397 The factory manager is here: How to use technology to empower the law?
leetcode:269. 火星词典
Cloud native - Kubernetes 】 【 scheduling constraints
[idea] idea configures sql formatting
Software testing interview questions: What are the strategies for system testing?
元宇宙:未来我们的每一个日常行为是否都能成为赚钱工具?
gorm联表查询-实战
2022 Hangzhou Electric Multi-School 1004 Ball
2022杭电多校训练第三场 1009 Package Delivery
IDEA file encoding modification
Zombie and orphan processes
00、数组及字符串常用的 API(详细剖析)
Mysql based
2022杭电多校第三场 K题 Taxi
Three tips for you to successfully get started with 3D modeling
2022牛客多校训练第二场 L题 Link with Level Editor I
About I double-checked and reviewed the About staff page, returning an industry question
2022 Nioke Multi-School Training Session 2 J Question Link with Arithmetic Progression
找不到DiscoveryClient类型的Bean