Skip to content
Snippets Groups Projects
Commit c7a559a3 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

add comments

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@7241 d63d8f72-b253-0410-a779-e742ad2e26cf
parent 5b250c7d
No related branches found
No related tags found
No related merge requests found
function [is,sigi]=iround_os(sig,val)
%
% Given two arrays sig and val, for each element in val
% returns the index and value of the nearest element in sig.
%
% sig and/or val can be non-monotonic
% sig and/or val can be non-monotonic (contrary to TCV iround which requires sig to be monotonic)
%
% Example:
%
% >> [i,sigi]=iround_OS(sig,val);
% >> [i,sigi]=iround_os(sig,val);
%
%
%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment