当前位置:网站首页>MATLIB从excel表中读取数据并画出函数图像
MATLIB从excel表中读取数据并画出函数图像
2022-07-06 15:59:00 【L-M-Y】
excel数据如图所示:
data=xlsread('附件.xlsx'); %% matlab读取Excel中的数据,并赋值给 data 数组
x=data(:,1); %单元格A的x数据
y=data(:,2); %单元格B的y数据
plot(x,y,'r-') %绘出图像
xlabel( '距离(cm)');ylabel('温度(℃)');
title('某次实验中炉温曲线');
绘制图像如图所示:
边栏推荐
- Detailed explanation of regular expression (regexp) in MySQL
- The worse the AI performance, the higher the bonus? Doctor of New York University offered a reward for the task of making the big model perform poorly
- Example code of MySQL split string as query condition
- What does security capability mean? What are the protection capabilities of different levels of ISO?
- Flutter life cycle
- Automatically update selenium driver chromedriver
- js對JSON數組的增删改查
- (shuttle) navigation return interception: willpopscope
- 【系统分析师之路】第七章 复盘系统设计(面向服务开发方法)
- Leetcode problem solving - 889 Construct binary tree according to preorder and postorder traversal
猜你喜欢
leetcode:236. 二叉树的最近公共祖先
Up to 5million per person per year! Choose people instead of projects, focus on basic scientific research, and scientists dominate the "new cornerstone" funded by Tencent to start the application
The worse the AI performance, the higher the bonus? Doctor of New York University offered a reward for the task of making the big model perform poorly
Example code of MySQL split string as query condition
基础图表解读“东方甄选”爆火出圈数据
Ajout, suppression et modification d'un tableau json par JS
谁说新消费品牌大溃败?背后有人赢麻了
Knowledge * review
Efficient ETL Testing
MySQL数据库之JDBC编程
随机推荐
Example code of MySQL split string as query condition
云原生(三十二) | Kubernetes篇之平台存储系统介绍
NFTScan 开发者平台推出 Pro API 商业化服务
Without CD, I'll teach you a trick to restore the factory settings of win10 system
Can async i/o be implemented by UDF operator and then called by SQL API? At present, it seems that only datastre can be seen
(DART) usage supplement
为了交通安全,可以做些什么?
GPT-3当一作自己研究自己,已投稿,在线蹲一个同行评议
Leetcode problem solving - 889 Construct binary tree according to preorder and postorder traversal
leetcode:236. 二叉树的最近公共祖先
Ajout, suppression et modification d'un tableau json par JS
《数字经济全景白皮书》保险数字化篇 重磅发布
js对JSON数组的增删改查
同构+跨端,懂得小程序+kbone+finclip就够了!
MySQL connected vscode successfully, but this error is reported
Coscon'22 community convening order is coming! Open the world, invite all communities to embrace open source and open a new world~
请问oracle-cdc用JsonDebeziumDeserializationSchema反序列化
Today's sleep quality record 78 points
Gradle知識概括
自动更新Selenium驱动chromedriver