|
@@ -26,7 +26,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 [BF] = sphear_bf_plot(BF, fmin, fmax, rmax)
|
|
|
|
|
|
|
+function [BF] = sphear_bf_plot(BF, fmin, fmax, rmax, cardioid = 0)
|
|
|
|
|
|
|
|
if (!exist("plot_on"))
|
|
if (!exist("plot_on"))
|
|
|
plot_on = "epsc";
|
|
plot_on = "epsc";
|
|
@@ -44,7 +44,11 @@ function [BF] = sphear_bf_plot(BF, fmin, fmax, rmax)
|
|
|
thetaf = (0:n)*(2*pi/n);
|
|
thetaf = (0:n)*(2*pi/n);
|
|
|
|
|
|
|
|
%% plot it as a function of angle
|
|
%% plot it as a function of angle
|
|
|
- bname = cellstr(['W'; 'X'; 'Y'; 'Z']);
|
|
|
|
|
|
|
+ if (cardioid)
|
|
|
|
|
+ bname = cellstr(['W'; 'X'; 'Y'; 'Cardioid']);
|
|
|
|
|
+ else
|
|
|
|
|
+ bname = cellstr(['W'; 'X'; 'Y'; 'Z']);
|
|
|
|
|
+ end
|
|
|
|
|
|
|
|
f = figure;
|
|
f = figure;
|
|
|
for b = 1:4
|
|
for b = 1:4
|