当前位置:网站首页>Matlab experience summary
Matlab experience summary
2022-07-07 15:38:00 【sgmcy】
1、 Create a new one under a directory plot.m file
Then the working directory of my command line terminal coincides with this plot.m The directory is under the same directory
Then I'm at the command line terminal knock plot() Command drawing , The following error occurred :
matlab Report errors : Try to SCRIPT plot Execute as a function
Later on plot.m Modified into my_plot.m Solved the problem
2、 Due to the previous installation MATLAB When , do not know why , Installed in Chinese
As a result, I'm using it notepad++ To write .m When you file , There are a lot of garbled codes
The fact proved that ,MATLAB The support for Chinese is not very friendly , therefore , It is better to annotate in English
3、plot When drawing , Use xlabel ,ylabel as well as title Set the annotation
At that time, Chinese was used , The picture that was drawn , Not shown in the figure xlabel ,ylabel as well as title
Due to the second point, the comments are garbled
Switch to English
But I found that there was still no xlabel ,ylabel as well as title
Finally found , my xlabel ,ylabel as well as title Double quotation marks are used inside , After switching to single quotation marks , The problem is solved
4、 When it comes to testing , Find out xlabel ,ylabel as well as title It doesn't print out every time , Sometimes it can be printed , Sometimes it doesn't print out , Most of the time, it can't be printed . It turned out ,xlabel ,ylabel as well as title It must be placed in plot Behind
figure(5);
xlabel('time ');
ylabel('Power ');
title('yuanyu : ');
plot(yy_closeyes1_delta);
hold on;
plot(yy_closeyes1_delta);
stay plot Before , In this way, the title cannot be drawn
figure(5);
plot(yy_closeyes1_delta);
hold on;
plot(yy_closeyes1_delta);
xlabel('time ');
ylabel('Power ');
title('yuanyu : ');
Change to in plot after , You can draw .
边栏推荐
- 【OBS】RTMPSockBuf_Fill, remote host closed connection.
- MongoD管理数据库的方法介绍
- Nacos conformance protocol cp/ap/jraft/distro protocol
- 如何在opensea批量发布NFT(Rinkeby测试网)
- leetcode 241. Different ways to add parentheses design priority for operational expressions (medium)
- Ctfshow, information collection: web6
- CTFshow,信息搜集:web6
- 【數字IC驗證快速入門】20、SystemVerilog學習之基本語法7(覆蓋率驅動...內含實踐練習)
- [understanding of opportunity -40]: direction, rules, choice, effort, fairness, cognition, ability, action, read the five layers of perception of 3GPP 6G white paper
- Introduction of mongod management database method
猜你喜欢

CTFshow,信息搜集:web13

Actually changed from 408 to self proposition! 211 North China Electric Power University (Beijing)

Starting from 1.5, build a microservice framework link tracking traceid
![[understanding of opportunity -40]: direction, rules, choice, effort, fairness, cognition, ability, action, read the five layers of perception of 3GPP 6G white paper](/img/38/cc5bb5eaa3dcee5ae2d51a904cf26a.png)
[understanding of opportunity -40]: direction, rules, choice, effort, fairness, cognition, ability, action, read the five layers of perception of 3GPP 6G white paper

CTFshow,信息搜集:web5

CTFshow,信息搜集:web8
![[Lanzhou University] information sharing of postgraduate entrance examination and re examination](/img/06/df5a64441814c9ecfa2f039318496e.jpg)
[Lanzhou University] information sharing of postgraduate entrance examination and re examination
使用Scrapy框架爬取网页并保存到Mysql的实现
Introduction of mongod management database method
![[quick start of Digital IC Verification] 23. AHB sramc of SystemVerilog project practice (3) (basic points of AHB protocol)](/img/e9/9e32e38e12e1fa71732c52b8ee0ab0.png)
[quick start of Digital IC Verification] 23. AHB sramc of SystemVerilog project practice (3) (basic points of AHB protocol)
随机推荐
【原创】一切不谈考核的管理都是扯淡!
什么是数据泄露
Stm32f103c8t6 PWM drive steering gear (sg90)
Ctfshow, information collection: web6
Bits and Information & integer notes
【数字IC验证快速入门】22、SystemVerilog项目实践之AHB-SRAMC(2)(AMBA总线介绍)
Do you know the relationship between the most important indicators of two strong wind control and the quality of the customer base
Integer learning
PAT 甲级 1103 Integer Factorizatio
Win10 or win11 taskbar, automatically hidden and transparent
CTFshow,信息搜集:web7
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
[quick start of Digital IC Verification] 18. Basic grammar of SystemVerilog learning 5 (concurrent threads... Including practical exercises)
HW初级流量监控,到底该怎么做
MySQL bit type resolution
Super signature principle (fully automated super signature) [Yun Xiaoduo]
Database exception resolution caused by large table delete data deletion
简述keepalived工作原理
连接ftp服务器教程
Ctfshow, information collection: web8