How to get median values from N_Corr software?

1 vue (au cours des 30 derniers jours)
Robert  Flores
Robert Flores le 27 Mar 2019
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)

Réponses (1)

Chougag Khaoula
Chougag Khaoula le 4 Juil 2022
Modifié(e) : Chougag Khaoula le 11 Juil 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.

Catégories

En savoir plus sur Mining Geology dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by