标签:
转载 |
分类: Matlab学习 |
标签:
转载 |
分类: Matlab学习 |
%% ***********************[Random Test]***********************
%*******************[Change Matlab axis label to Exponential + move the exponet above the axis]*********************************
plot([0 1],[0 .02])
标签:
polar极坐标刻度单位 |
分类: Matlab学习 |
如何在Matlab极坐标polar绘图上增加刻度单位
一直以来,想在极坐标上面增加刻度,不知道该如何更改,经常是手动加入,费时费力。今天突然想起来为何不能通过修改Matlab的已知源代码,去更改呢?百度了之后,找到了以下的文章:
Site: http://blog.renren.com/share/240189843/2199786563
先不看文章,先来看Matlab
标签:
转载 |
分类: Matlab学习 |
Simulink代数环
我有次碰到一个问题,Simulink报告“Cannot solve algebraic loops...”
http://byfiles.storage.msn.com/y1pLrqgHkhE4lDOyri85cmRc
标签:
教育 |
分类: Matlab学习 |
Matlab作图后,标记多个数据点
请问:用data cursor怎样标注多点的坐标值(在同一张图中同时显示)?谢谢在要标注的图上点data cursor,要标注新的点就alt+click或者在图上右键->creat new
datatip
问:有没有什么命令可以 create new datatip啊 不想用右键 想直接调用命令啊
答:
用datacursormode就可以创建新的datatip。具体使用看看help文件。
Site:http://www.ilovematlab.cn/thread-59660-1-1.html
另外可以参考:http://blog.sina.com.cn/s/blog_4d633dc70100phl5.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
标签:
教育 |
分类: Matlab学习 |
matlab中如何求对数
log(x)以自然对数为底的对数。数学上的ln(x)
log10(x)以10为底的对数。数学上的lg(x)
log2(x)以2为底的对数
其它为底的,请自行通过换底公式进行计算。
Site:http://zhidao.baidu.com/question/308700383.html
标签:
教育 |
分类: Matlab学习 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%持续更新。
%仅作笔记。
标签:
rtx定时haltimer教育 |
分类: RTX |
以下引自RTX 8.1 SDK Release Notes
RtSleepFt() can return early from a sleep period. It can return
within one
HAL timer tick early of the requested time. For instance, if the
HAL timer
is at 200us, RtSleepFt() can return up to 200us earlier than the
requested
time. (2265)
就是说RTX中RtSleepFt() 函数的精度由 HAL timer决定,最大差值是一个 HAL timer周期。
例如:
RtSleepFt(10000)休眠1毫秒,HAL timer=100us,则系统挂起当前线程9个HAL timer周期后重启当前线程。
即实际当前线程挂起400多个us。
RTX8.1在独享一个CPU情况下HAL timer可以设置为10us。
来源:http://readj.blog.163.com/blog/static/471261342008319415392/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
标签:
matlab矩阵excel表格教育 |
分类: Matlab与VC混编 |
将matlab求出的矩阵保存在Excel表格中
转贴Genial分享程序
function xlswrite(m,header,colnames,filename);
% xlswrite
%
%
%
%
%
%Inputs:
%
% (Optional):
%
%
%
%
标签:
mathtype出错教育 |
分类: 杂项 |
打开Word时提示Mathtype出错
症状:开后就有一个对话框显示这样一句话“mathtype has detected an error inAutoExecCls,error running cmd =NoDirectcall_Main mod=AutoExecCls in RunMTDLLCommand 方法'path'作用于对象'addin'时失败。please save your document and report this error to Design Science technical support”
解决办法:
1. 退出所有office程序; 2. 打开注册表(开始--运行--输入 regedit); 3. 删除路径HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word下Data文件夹; 4. 退出注册表; 5. 重启word,问题解决。
来源:http://zhidao.baidu.com/question/246431635.html
已检查方法可用。