当前位置:网站首页>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')
边栏推荐
- 2022杭电多校 第三场 B题 Boss Rush
- 软件测试面试题:您以往所从事的软件测试工作中,是否使用了一些工具来进行软件缺陷(Bug)的管理?如果有,请结合该工具描述软件缺陷(Bug)跟踪管理的流程?
- 软件测试面试题:软件都有多少种分类?
- Mysql_14 存储引擎
- The principle of NMS and its code realization
- Cloud native - Kubernetes 】 【 scheduling constraints
- 2022 Multi-school Second Session K Question Link with Bracket Sequence I
- leetcode: 267. Palindromic permutations II
- NMS原理及其代码实现
- Software testing interview questions: Have you used some tools for software defect (Bug) management in your past software testing work? If so, please describe the process of software defect (Bug) trac
猜你喜欢

子连接中的参数传递

Inter-process communication and inter-thread communication

性能测试如何准备测试数据

【论文笔记】—低照度图像增强—Unsupervised—EnlightenGAN—2019-TIP
![[Cloud Native--Kubernetes] Pod Controller](/img/e1/1a8cc82223f9a9be79ebbf1211e9a4.png)
[Cloud Native--Kubernetes] Pod Controller

matlab中rcosdesign函数升余弦滚降成型滤波器

oracle创建用户以后的权限问题

电赛必备技能___定时ADC+DMA+串口通信
![[230] Execute command error after connecting to Redis MISCONF Redis is configured to save RDB snapshots](/img/fa/5bdc81b1ebfc22d31f42da34427f3e.png)
[230] Execute command error after connecting to Redis MISCONF Redis is configured to save RDB snapshots

机器学习(公式推导与代码实现)--sklearn机器学习库
随机推荐
软件测试面试题:软件验收测试的合格通过准则?
tiup update
软件测试面试题:软件测试类型都有哪些?
软件测试面试题:关于自动化测试工具?
软件测试面试题:什么是软件测试?软件测试的目的与原则?
Software Testing Interview Questions: What is Software Testing?The purpose and principle of software testing?
刘润直播预告 | 顶级高手,如何创造财富
Software Testing Interview Questions: What's the Key to a Good Test Plan?
tiup status
软件测试面试题:您以往所从事的软件测试工作中,是否使用了一些工具来进行软件缺陷(Bug)的管理?如果有,请结合该工具描述软件缺陷(Bug)跟踪管理的流程?
tiup status
标识符、关键字、常量 和变量(C语言)
子连接中的参数传递
【idea】idea配置sql格式化
matlab中rcosdesign函数升余弦滚降成型滤波器
数据类型-整型(C语言)
Raw and scan of gorm
2022杭电多校训练第三场 1009 Package Delivery
2022 Nioke Multi-School Training Session H Question H Take the Elevator
Mysql_14 存储引擎