subplot (x,y,z) |
hold on |
plot (data1(1, f:f + length)); |
plot (data2(1, f:f + length)); |
plot (data3(1, f:f + length)); |
plot (data4(1, f:f + length)); |
plot (data4 + n(1, f:f + length)); |
hold off |
%%computation |
angle(2, f: f + length), detal (3, f:f + length)….frequency); |
f2 )fft (sig1); |
f3 )fft (sig2); |
fn )fft (sig n); |
[‥, p1] = max(abs(f1) |
[‥, p2] = max(abs(f2) |
[‥, p3] = max(abs(f3) |
bearing = ata((t3-t2) |
end |