当前位置:网站首页>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')
边栏推荐
猜你喜欢

could not build server_names_hash, you should increase server_names_hash_bucket_size: 32

oracle创建用户

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

【idea】idea配置sql格式化

10 个关于 Promise 和 setTimeout 知识的面试题,通过图解一次说透彻

Senior game modelers tell newbies, what are the necessary software for game scene modelers?

QSunSync Qiniu cloud file synchronization tool, batch upload

Modelers experience sharing: model study method

看图识字,DELL SC4020 / SCv2000 控制器更换过程

node使用redis
随机推荐
typeScript - Partially apply a function
Mysql based
node uses redis
TinyMCE禁用转义
数据类型-整型(C语言)
软件测试面试题:负载测试、容量测试、强度测试的区别?
僵尸进程和孤儿进程
软件测试面试题:测试用例通常包括那些内容?
【LeetCode】双指针题解汇总
QSunSync 七牛云文件同步工具,批量上传
oracle创建表空间
leetcode:267. 回文排列 II
E - Many Operations (bitwise consideration + dp thought to record the result after the operation
matlab中rcosdesign函数升余弦滚降成型滤波器
Redis visual management software Redis Desktop Manager2022
网站最终产品页使用单一入口还是多入口?
IDEA file encoding modification
2022杭电多校训练第三场 1009 Package Delivery
could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
软件测试面试题:软件都有多少种分类?