随笔分类 -  Matlab

[Matlab] tic toc
摘要:tic Start a stopwatch timer. tic and TOC functions work together to measure elapsed time. tic, by itself, saves the current time that TOC uses later t... 阅读全文
posted @ 2015-01-21 10:30 southernduck 阅读(273) 评论(0) 推荐(0)
[Matlab] sum
摘要:sum(M,1)结果是一个行向量 阅读全文
posted @ 2015-01-06 16:12 southernduck 阅读(129) 评论(0) 推荐(0)
[Matlab] Galois Field
摘要:1. gf(M)用来把M转换到伽罗华域2. gf(M.x)用来把M转换到实数域 阅读全文
posted @ 2015-01-05 11:05 southernduck 阅读(443) 评论(0) 推荐(0)
[Matlab.Matrix] reshape
摘要:a=[1,2,3;4,5,6;7,8,9]; a=reshape(a,1,9); a=[1,4,7,2,5,8,3,6,9]; a=reshape(a,9,1); a=[1;4;7;2;5;8;3;6;9];a=[1,2,3,4,5,6,7,8,9]; a=reshape(a,3,3); ... 阅读全文
posted @ 2014-09-25 10:07 southernduck 阅读(229) 评论(0) 推荐(0)
[Matlab] fprintf
摘要:%s format as a string%d format with no fractional part (integer format)%f format as a oating-point value%e format as a oating-point value in scienti c... 阅读全文
posted @ 2014-05-15 09:11 southernduck 阅读(203) 评论(0) 推荐(0)
[Matlab] Galois Field arrays
摘要:Operations supported for Galois Field arrays: + - - Addition and subtraction of Galois arrays. * / \ - Matrix multiplication... 阅读全文
posted @ 2014-04-28 10:45 southernduck 阅读(647) 评论(0) 推荐(0)
[Matlab] awgn
摘要:Y = awgn(X,SNR,SIGPOWER) when SIGPOWER is numeric, it represents the signal power in dBW. When SIGPOWER is 'measured', awgn measuresthe signal power b... 阅读全文
posted @ 2014-04-24 22:43 southernduck 阅读(481) 评论(0) 推荐(0)
[Matlab] figure
摘要:figure只能设置序号不能设置title而stem和plot可以设置title 阅读全文
posted @ 2014-01-26 11:47 southernduck 阅读(166) 评论(0) 推荐(0)
[Matlab.Matrix] rref
摘要:rref=reduced row echelon form; 阅读全文
posted @ 2012-12-01 09:38 southernduck 阅读(360) 评论(0) 推荐(0)
[Matlab.Matrix] '
摘要:一直以为“ ‘ ”是取矩阵转置的意思,事实上,它的效果不仅仅是转置,还有取共轭。 阅读全文
posted @ 2012-11-29 21:46 southernduck 阅读(190) 评论(0) 推荐(0)
[Matlab.GUI] 学习小结
摘要:为了满足统计信号处理实验对于实验结果可展示性的要求,周三晚上学习了Matlab GUI的编程此次学习仅涉及单个界面熟悉了GUIDE每一个GUI界面都是一个.fig文件,每个.fig文件都有一个与之对应的.m文件,它是.fig文件的Matlab代码每一个.fig可以看作是一个函数,不过这个函数和其他自... 阅读全文
posted @ 2012-11-23 21:07 southernduck 阅读(433) 评论(0) 推荐(0)
[Matlab.Matrix] 作为判断条件
摘要:Test Mclear;clc;e=[1,0;0,1];if(e) f=1;else f=0;endg=[1,1;1,1];if(g) h=1;else h=0;endi=[0,0;0,0];if(i) j=1;else j=0;end根据实验,结论是当矩阵作为判断条件的时候,对各个元素进行判断,然... 阅读全文
posted @ 2012-11-21 20:32 southernduck 阅读(233) 评论(0) 推荐(0)
[Matlab] isnan
摘要:在Matlab GUI的Edit Text Object中,isnan()是一个常用的函数,用来判断输入是不是数字。a=isnan([1,2,3]),a=[0,0,0];b=isnan([pi,NaN,Inf]),b=[0,1,0]; 阅读全文
posted @ 2012-11-21 20:21 southernduck 阅读(1212) 评论(0) 推荐(0)
[Matlab.GUI]初识
摘要:2012b版本在界面上有比较大的改动。在Command Window里面输入guide,启动Graphical User Interface Development Environment。根据提示建立一个空白的或者其他类型的GUI,或者打开已经建立的GUI。一个GUI包括一个.fig文件和一个.m... 阅读全文
posted @ 2012-11-20 21:52 southernduck 阅读(301) 评论(0) 推荐(0)
[Matlab] round
摘要:round();help round 之后可以得到推荐的其他功能类似的函数。 阅读全文
posted @ 2012-11-15 16:40 southernduck 阅读(342) 评论(0) 推荐(0)