随笔分类 -  MATLAB

摘要:if mod(x, 2) == 0% number is evenelse% number is oddend 阅读全文
posted @ 2017-11-21 09:37 Avin 阅读(9095) 评论(0) 推荐(0)
摘要:一、将包含主程序的多个fig封装成exe 方法:在Command Window中运行deploytool命令,出现如下图示,输入exe的文件名 完了出现如下图。在右边的“Main File”中添加主程序的m文件,其他需要到的所有文件(就是除了添加在Main File中的那个文件外的其他所有m文件和f 阅读全文
posted @ 2017-11-06 17:32 Avin 阅读(11000) 评论(0) 推荐(0)
摘要:fix - 向零方向取整 fix Round towards zero. fix(X) rounds the elements of X to the nearest integers towards zero. 例: t = 7.6806 3.5388 3.61302.3309 3.4719 7. 阅读全文
posted @ 2017-06-23 10:17 Avin 阅读(1128) 评论(0) 推荐(0)