当前位置:网站首页>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')
边栏推荐
- 软件测试面试题:软件测试类型都有哪些?
- node使用redis
- 僵尸进程和孤儿进程
- 软件测试面试题:请你分别画出 OSI 的七层网络结构图和 TCP/IP 的四层结构图?
- 2022 Hangzhou Electric Multi-School Training Session 3 1009 Package Delivery
- 在线中文姓名生成工具推荐
- About I double-checked and reviewed the About staff page, returning an industry question
- leetcode:269. 火星词典
- 软件测试面试题:您如何看待软件过程改进?在您曾经工作过的企业中,是否有一些需要改进的东西呢?您期望的理想的测试人员的工作环境是怎样的?
- GO中sync包自由控制并发的方法
猜你喜欢
![[Cloud Native--Kubernetes] Pod Controller](/img/e1/1a8cc82223f9a9be79ebbf1211e9a4.png)
[Cloud Native--Kubernetes] Pod Controller
![[idea] idea configures sql formatting](/img/89/98cd23aff3e2f15ecb489f8b3c50e9.png)
[idea] idea configures sql formatting

MAUI Blazor 权限经验分享 (定位,使用相机)

【idea】idea配置sql格式化

could not build server_names_hash, you should increase server_names_hash_bucket_size: 32

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

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

Cloud native - Kubernetes 】 【 scheduling constraints

Inter-process communication and inter-thread communication

Senior game modelers tell newbies, what are the necessary software for game scene modelers?
随机推荐
【无标题】
软件测试面试题:测试生命周期,测试过程分为几个阶段,以及各阶段的含义及使用的方法?
"WEB Security Penetration Testing" (28) Burp Collaborator-dnslog out-band technology
Redis visual management software Redis Desktop Manager2022
E - Distance Sequence (前缀和优化dp
tensor.nozero(), mask, [mask]
子连接中的参数传递
uinty lua 关于异步函数的终极思想
进程间通信和线程间通信
2022 Hangzhou Electric Multi-School Training Session 3 1009 Package Delivery
Software testing interview questions: test life cycle, the test process is divided into several stages, and the meaning of each stage and the method used?
#yyds dry goods inventory #Switching equipment serious packet loss troubleshooting
Software Testing Interview Questions: What is Software Testing?The purpose and principle of software testing?
标识符、关键字、常量 和变量(C语言)
Software Testing Interview Questions: About Automated Testing Tools?
机器学习(公式推导与代码实现)--sklearn机器学习库
typeScript - Partially apply a function
软件测试面试题:黑盒测试、白盒测试以及单元测试、集成测试、系统测试、验收测试的区别与联系?
2022 Hangzhou Electric Multi-School 1004 Ball
tiup uninstall