Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
スイープ サイン オーディオ信号の一連の録音があり、各サンプルでの実効周波数を知りたいです。
たとえば、サイン スイープは 400 ~ 10000 Hz で、500 サンプル続く場合があります。
私は Matlab で作業しており、logspace(a,b,n) を使用しますが、10 の累乗として a と b しか受け入れません。任意の 2 つの値の間で対数的に増加する値の配列を生成するものが必要です。
理想的にはmatlabで。
10 ^(log10(a))= aであるため、値aとbを10の指数として表すことができます。
それで:
n = 100; %number of points between a and b y = logspace(log10(a), log10(b), n);