Unable to process the data of a text file from a series of subfolders to get the required image.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sateesh Kandukuri am 17 Nov. 2022
Bearbeitet: Sateesh Kandukuri am 19 Nov. 2022
I am trying to plot a power spectral density map from FFT calculations. I can read all tables from a series of folders. But I failed to get the required plot. The image showed the results of only the first table. Could you please look into the following code and help me out?
allTables = dir('**/table.txt');
for index = 1:numel(allTables)
thisFolder = allTables(index).folder;
inFile = fullfile(thisFolder, allTables(index).name);
A = readmatrix(inFile);
% do stuff ...
Find more on ROI-Based Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!