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

oracle创建表空间

could not build server_names_hash, you should increase server_names_hash_bucket_size: 32

数据类型-整型(C语言)

刘润直播预告 | 顶级高手,如何创造财富

怎样进行在不改变主线程执行的时候,进行日志的记录

STC89C52RC的P4口的应用问题

TinyMCE disable escape
![[230]连接Redis后执行命令错误 MISCONF Redis is configured to save RDB snapshots](/img/fa/5bdc81b1ebfc22d31f42da34427f3e.png)
[230]连接Redis后执行命令错误 MISCONF Redis is configured to save RDB snapshots

leetcode:266. 回文全排列

《WEB安全渗透测试》(28)Burp Collaborator-dnslog外带技术
随机推荐
Huggingface入门篇 II (QA)
what?测试/开发程序员要被淘汰了?年龄40被砍到了32?一瞬间,有点缓不过神来......
[230]连接Redis后执行命令错误 MISCONF Redis is configured to save RDB snapshots
E - Distance Sequence (前缀和优化dp
2022杭电多校第三场 L题 Two Permutations
00、数组及字符串常用的 API(详细剖析)
E - Many Operations (bitwise consideration + dp thought to record the result after the operation
元宇宙:未来我们的每一个日常行为是否都能成为赚钱工具?
TinyMCE disable escape
子连接中的参数传递
软件测试面试题:您如何看待软件过程改进?在您曾经工作过的企业中,是否有一些需要改进的东西呢?您期望的理想的测试人员的工作环境是怎样的?
Software testing interview questions: Please draw the seven-layer network structure diagram of OSI and the four-layer structure diagram of TCP/IP?
Software testing interview questions: What are the strategies for system testing?
软件测试面试题:一套完整的测试应该由哪些阶段组成?
刘润直播预告 | 顶级高手,如何创造财富
2022 Hangzhou Electric Power Multi-School Session 3 K Question Taxi
Three tips for you to successfully get started with 3D modeling
简单的顺序结构程序(C语言)
STC89C52RC的P4口的应用问题
MongoDB搭建及基础操作