How to get median values from N_Corr software?

4 Ansichten (letzte 30 Tage)
Robert  Flores
Robert Flores am 27 Mär. 2019
Bearbeitet: Chougag Khaoula am 11 Jul. 2022
Hello,
I have recently done a DIC test and am using the N_Corr software to find the displacements and strains. I know I can get GIFs of the displacements and strains but I want to get the median value of strain from each figure. I know I can access the information about either displacements or strains by typing "handles_ncorr.data_dic.displacements.plot_v_ref_formatted" in the command window. This entry looks at the displacements of the figure in the y direction. It is important to note that I run the software on my computer and don't know how to access the data, so I don't think the code I post will be able to run for you. If you are able to help it will be much appreciated, thanks.
CODE:
Data = handles_ncorr.data_dic;
extractfield(handles_ncorr.data_dic,displacements)
Medians = zeros(8,1);
for i = 1:length(Data)
Medians(i) = median(handles_ncorr.data_dic.displacements.plot_v_ref_formatted(i))
end
% csvwrite('Median_Values.txt',M)

Antworten (1)

Chougag Khaoula
Chougag Khaoula am 4 Jul. 2022
Bearbeitet: Chougag Khaoula am 11 Jul. 2022
If you want the median value for each image, once you plot the strain or displacement, below each image appears some information related to it. The last sentence states the max, median, and min values.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by