Matlab中的logspace函数,matlab之logspace函数
logspace()在matlab幫助里的英文注釋是這樣的:
logspaceGenerate
logarithmically spaced vectors
Syntax
y = logspace(a,b)
y = logspace(a,b,n)
y = logspace(a,pi)
Description
The logspace function generates logarithmically spaced
vectors. Especially useful for creating frequency vectors, it is a
logarithmic equivalent of linspace and the ":" or colon
operator.
y = logspace(a,b) generates a row vector y of 50
logarithmically spaced points between decades 10^a and
10^b.
y = logspace(a,b,n) generates n points between decades
10^a and 10^b.
y = logspace(a,pi) generates the points between 10^a and
pi, which is useful for digital signal processing where frequencies
over this interval go around the unit circle.
Remarks
All the arguments to logspace must be scalars.
翻譯成漢語是?
logspace函數(shù)生成對數(shù)間隔向量
?語句用法
y = logspace(a,b)
y = logspace(a,b,n)
y = logspace(a,pi)
用法詳細(xì)描述?
?LOGSPACE函數(shù)生成對數(shù)間隔向量。而且在產(chǎn)生頻率向量時格外有用,相當(dāng)于是個對數(shù)形式的linspace函數(shù)
?y = logspace(a,b)
生成一個在10^a到10^b之間個數(shù)為50的對數(shù)行向量。?
y = logspace(a,b,n)?生成一個在10^a到10^b之間個數(shù)為n的對數(shù)行向量。
eg:logspace(0,1,10)生成的序列是?1.0000
1.2915
1.6681
2.1544
2.7826
3.5938
4.6416
5.99487.7426
10.0000 ? (即 10^0
10^(1/9) ?........
10^(8/9) ?10^(9/9))
?y =
logspace(a,pi) (該函數(shù)目前不太清楚,希望可以叫和大家共同交流)
總結(jié)
以上是生活随笔為你收集整理的Matlab中的logspace函数,matlab之logspace函数的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 苹果 iPhone 14 系列机型可以卸
- 下一篇: php拼接多个insert,php –