Commit dc150279 authored by Marina Kreme's avatar Marina Kreme
Browse files

fix path

parent 4b68ab6d
Pipeline #5921 passed with stages
in 11 minutes and 18 seconds
......@@ -75,32 +75,31 @@ figure; imagesc(mask);
%% plot figures
pwd;
pathname ='figures';
if ~exist('figures','dir')
mkdir('figures');
fig_dir ='figures_car_bird_icassp';
if ~exist(fig_dir,'dir')
mkdir(fig_dir);
end
addpath('figures')
addpath(fig_dir)
figure;
plot_spectrogram(mask, dgt_params, signal_params, dgt);
title('mask')
saveas(gcf,fullfile(pathname,['mask','.png']));
saveas(gcf,fullfile(fig_dir,'mask.png'));
figure;
plot_spectrogram(dgt_Xref, dgt_params, signal_params, dgt)
title('target signal')
saveas(gcf,fullfile(pathname,['engine','.png']));
saveas(gcf,fullfile(fig_dir,'engine.png'));
figure;
plot_spectrogram(dgt_Xper, dgt_params, signal_params, dgt)
title('perturbation signal')
saveas(gcf,fullfile(pathname,['bird','.png']));
saveas(gcf,fullfile(fig_dir,'bird.png'));
figure;
plot_spectrogram(dgt_mix, dgt_params, signal_params, dgt)
title('perturbation signal')
saveas(gcf,fullfile(pathname,['engine_bird','.png']));
saveas(gcf,fullfile(fig_dir,'engine_bird.png'));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment