vba中的数组公式

时间:2016-02-10 19:14:31

标签: excel vba excel-vba

我尝试使用以下代码来查找多个值的位置:

Dim destino as String
Dim origen as String
destino="A"
origen="B"
Dim fila as Integer
fila = Application.WorksheetFunction.Match(1, (Range("F:F") = origen) * (Range("G:G") = destino), 0)

但它不起作用。有人知道为什么吗?

1 个答案:

答案 0 :(得分:2)

enter image description here

Wn = [Fl(i) Fh(i)] / (Fs/2);
[ z, p, k ] = butter( N, Wn, 'bandpass' );
% [z,p,k] = cheby1( N, Rp, Wn, 'bandpass' );
[ sos, g ]=zp2sos( z, p, k );
f = dfilt.df2sos( sos, g );