[转载]matlab函数 freqspace
(2013-07-26 15:24:11)
标签:
转载 |
分类: MATLAB |
原文地址:matlab函数 freqspace 作者:用户1934582105
freqspace
返回某一区间内等间隔的值
n为奇数:一系列值为[-n+1:2:n-1]/n
n为偶数:值为[-n:2:n-2]/n
语法
[f1,f2]
举例: [f1,f2] = freqspace(4)
f1 =
f2 =
[f1,f2]
f1 =
f2 =
[x1,y1]
f
[x1,y1] = freqspace(...,'meshgrid') is equivalent to
[f1,f2] = freqspace(...); [x1,y1] = meshgrid(f1,f2);
> [f1,f2]=freqspace([3,2],'meshgrid')
f1 =
-1 0
-1 0
-1 0
f2 =
-0.6667 -0.6667
0 0
0.6667 0.6667