diff --git a/+af_tools/+utils/spacedvector.m b/+af_tools/+utils/spacedvector.m index d0a7d34975cdf1a6dc282425c0aff5d98e8d20ca..eed470dbbb476285f56210468c92a3ef3cdc7709 100644 --- a/+af_tools/+utils/spacedvector.m +++ b/+af_tools/+utils/spacedvector.m @@ -1,5 +1,12 @@ function vect = spacedvector(spacing, nPoints) % SPACEDVECTOR Returns a vector based on chosen spacing and number of points + % + % Spacing: + % - linear : points spaced linearily + % - halfcosine : more dense at beginning and end of vector + % - cosine : more dense at the beginning and more spaced out at the end + % - sine : more dense at the end and more spaced out at the beginning + % % ----- % (c) Copyright 2022-2023 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be>