Skip to content

Commit

Permalink
Merge pull request #10059 from rmcdermo/master
Browse files Browse the repository at this point in the history
Matlab: use Radiant_Fraction2.csv from MaCFP repo
  • Loading branch information
rmcdermo authored Nov 18, 2021
2 parents 60c2908 + a357332 commit 8dd3cdc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Utilities/Matlab/scripts/FM_Burner.m
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@
end
end

% THIS DATA NOW STORED IN MACFP REPO

expdir = '../../../exp/Submodules/macfp-db/Extinction/FM_Burner/Experimental_Data/Radiation_global/';
% expdir = '../../../exp/Submodules/macfp-db/Extinction/FM_Burner/Experimental_Data/Radiation_global/';

CHIR = importdata([expdir,'Radiant_fraction.csv'],',',1);
rfid = fopen([expdir,'Radiant_fraction2.csv'],'wt','n');
fprintf(rfid,'%s\n','Time,20p9 percent,19p0 percent,17p0 percent,15p0 percent');
fprintf(rfid,'%5.3f,%6.3f,%6.3f,%6.3f,%6.3f\n', 0.,CHIR.data(1:4,2));
fprintf(rfid,'%5.3f,%6.3f,%6.3f,%6.3f,%6.3f\n',1000.,CHIR.data(1:4,2));
fclose(rfid);
% CHIR = importdata([expdir,'Radiant_fraction.csv'],',',1);
% rfid = fopen([expdir,'Radiant_fraction2.csv'],'wt','n');
% fprintf(rfid,'%s\n','Time,20p9 percent,19p0 percent,17p0 percent,15p0 percent');
% fprintf(rfid,'%5.3f,%6.3f,%6.3f,%6.3f,%6.3f\n', 0.,CHIR.data(1:4,2));
% fprintf(rfid,'%5.3f,%6.3f,%6.3f,%6.3f,%6.3f\n',1000.,CHIR.data(1:4,2));
% fclose(rfid);

0 comments on commit 8dd3cdc

Please sign in to comment.