|
@@ -36,7 +36,7 @@
|
|
|
%% You should have received a copy of the GNU General Public License
|
|
%% You should have received a copy of the GNU General Public License
|
|
|
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
-function sphear_bf_plot_polar_response(B, frefmin, frefmax, fmin, fmax, Noct, Nfft, Fs, cardioid = 0)
|
|
|
|
|
|
|
+function sphear_bf_plot_polar_response(B, frefmin, frefmax, fmin, fmax, Noct, Nfft, Fs, cardioid = 0, azim = 45)
|
|
|
|
|
|
|
|
%% color plot
|
|
%% color plot
|
|
|
copt = '-color';
|
|
copt = '-color';
|
|
@@ -65,7 +65,7 @@ function sphear_bf_plot_polar_response(B, frefmin, frefmax, fmin, fmax, Noct, Nf
|
|
|
idx = 1;
|
|
idx = 1;
|
|
|
for i = (1:size(fc))
|
|
for i = (1:size(fc))
|
|
|
printf("fc = %d\n", fc(i));
|
|
printf("fc = %d\n", fc(i));
|
|
|
- BP = sphear_signal_power(B, Fs, fe(i), fe(i + 1), Nfft, cardioid) / norm;
|
|
|
|
|
|
|
+ BP = sphear_signal_power(B, Fs, fe(i), fe(i + 1), Nfft, cardioid, azim) / norm;
|
|
|
sphear_bf_plot(BP, fe(i), fe(i + 1), 1.25, cardioid);
|
|
sphear_bf_plot(BP, fe(i), fe(i + 1), 1.25, cardioid);
|
|
|
idx = idx + 1;
|
|
idx = idx + 1;
|
|
|
end
|
|
end
|