Skip to content
Snippets Groups Projects
Commit 3f1312b7 authored by herrTilda's avatar herrTilda
Browse files

for uncertainties

parent c710e842
No related branches found
No related tags found
No related merge requests found
function [sampledParams] = sampleParams(nsets,allParams)
% allocation
np=size(allParams,2)-1;
sets=floor(linspace(1,size(allParams,1),nsets));
sampledParams=nan(nsets,np);
% sample
allParams=sortrows(allParams,(np+1));
sampledParams(:,:)=allParams(sets,1:np);
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment