当前位置:网站首页>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 .
边栏推荐
- Compile advanced notes
- MySQL installation configuration 2021 in Windows Environment
- [make a boat diary] [shapr3d STL format to gcode]
- Nacos conformance protocol cp/ap/jraft/distro protocol
- Integer learning
- 【目标检测】YOLOv5跑通VOC2007数据集
- 【跟着江科大学Stm32】STM32F103C8T6_PWM控制直流电机_代码
- CTFshow,信息搜集:web5
- [Lanzhou University] information sharing of postgraduate entrance examination and re examination
- 【深度学习】语义分割实验:Unet网络/MSRC2数据集
猜你喜欢
![[quick start of Digital IC Verification] 29. Ahb-sramc (9) (ahb-sramc svtb overview) of SystemVerilog project practice](/img/f7/03975d08912afd8daee936799e8951.png)
[quick start of Digital IC Verification] 29. Ahb-sramc (9) (ahb-sramc svtb overview) of SystemVerilog project practice
![[quick start for Digital IC Validation] 26. Ahb - sramc (6) for system verilog project practice (Basic Points of APB Protocol)](/img/7e/188e57ee026200478a6f61eb507c92.png)
[quick start for Digital IC Validation] 26. Ahb - sramc (6) for system verilog project practice (Basic Points of APB Protocol)

HW primary flow monitoring, what should we do
![[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)](/img/cf/45775b712f60869186a25d3657ee1b.png)
[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)
![Super signature principle (fully automated super signature) [Yun Xiaoduo]](/img/b8/5bafbada054b335568e64c7e1ac6bb.jpg)
Super signature principle (fully automated super signature) [Yun Xiaoduo]

什麼是數據泄露

CTFshow,信息搜集:web9

微信小程序 01

HPDC smart base Talent Development Summit essay

【數據挖掘】視覺模式挖掘:Hog特征+餘弦相似度/k-means聚類
随机推荐
“百度杯”CTF比赛 2017 二月场,Web:include
众昂矿业:萤石继续引领新能源市场增长
Typescript release 4.8 beta
【数字IC验证快速入门】19、SystemVerilog学习之基本语法6(线程内部通信...内含实践练习)
Niuke real problem programming - day13
CTFshow,信息搜集:web10
Introduction of mongod management database method
[follow Jiangke University STM32] stm32f103c8t6_ PWM controlled DC motor_ code
Excerpted words
Win10 or win11 taskbar, automatically hidden and transparent
Connecting FTP server tutorial
Unity之ASE实现全屏风沙效果
CTFshow,信息搜集:web12
【数字IC验证快速入门】26、SystemVerilog项目实践之AHB-SRAMC(6)(APB协议基本要点)
[quick start of Digital IC Verification] 25. AHB sramc of SystemVerilog project practice (5) (AHB key review, key points refining)
15. Using the text editing tool VIM
CTFshow,信息搜集:web13
MySQL installation configuration 2021 in Windows Environment
【数字IC验证快速入门】23、SystemVerilog项目实践之AHB-SRAMC(3)(AHB协议基本要点)
什麼是數據泄露