Skip to main content
. 2020 Dec 30;13(1):42. doi: 10.3390/pharmaceutics13010042
Algorithm 3 Condense algorithm. Input: (ϕ,λ,Δλ), Output: ϕc Note: ϕc is considered a subset of ϕ
functionCondense(ϕ,λ,Δλ)
     ind = find ( λ>(maxλ)Δλ ) ▹ Inequality and max are performed component-wise
     ϕc=ϕ(:,ind)
     return ϕc
end function