How can I create three 2,2,x subplots (total 12 subplots in 3 plots) from my surface of my FourierAnalysis?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How can I create three 2,2,x subplots (total 12 plots in 3 subplots) from my surface of my FourierAnalysis?
I want to do a FourierAnalysis of the following Frequencies:
fAnalysis = [20,25,30,35,40,45,55,65,75,85,105,130]; % Hz
Actually i get 12 single Plots when I compile:
%% spatial analysis
fAnalysisBin = round(fAnalysis/dF);
% Todo: iterate for all subwoofers
for iFreq = 1:length(fAnalysis)
XFreq = X_tmp(fAnalysisBin(iFreq),:);
XFreq = reshape(XFreq,nMic,nPos);
% Todo: Subplots!
figure
surf(20*log10(abs(B)))
end
How can I plot the frequencies
20, 25, 30, 35 40, 45, 55, 65 75, 85, 105, 130
in a 2x2 subplot so I get 3 windows within 4 plots of the belongig frequencies?
When I try to subplot it, it gives me 12 windows within 3 empty plots and 1 frequencies
Thank you all for helping!
0 Kommentare
Antworten (1)
Fangjun Jiang
am 20 Mär. 2020
figure(1)
subplot(2,2,1);
% more subplot
figure(2);
subplot(2,2,2);
% more subplot
figure(3);
subplot(2,2,4)
% more subplot
0 Kommentare
Siehe auch
Kategorien
Mehr zu Subplots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!