compute_permeability
Version 1.1 (358 KB) by
Badr Kaoui
This Matlab script estimates the permeability of the membrane of capsules with application for drug release and absorption.
This Matlab script estimates the permeability of the membrane of capsules with application for drug release and absorption. The script solves the diffusion equation in 1D over a specified range of diffusion coefficients in the core and the membrane (vec_Dc and vec_Dm). It computes the RMSE error (root-mean-square error) between the computed numerical solution and the experimental data for each couple (Dc,Dm) and returns the optimal diffusion coefficients for the models of a capsule, and a homogeneous sphere.
Input required file:
- exp_data.dat: experimental data points.
Output files:
- kinetics_capsule.dat: release kinetics for the model of a capsule,
- kinetics_homogeneous.dat: release kinetics for the homogeneous sphere,
- rmse.dat: the RMSE estimated for each couple (Dc,Dm),
- optim_diffusivities.dat: optimal diffusivities (minimal RMSE) for the models of a capsule and a homogeneous sphere.
Authors: Clément Bielinski, Badr Kaoui (badr.kaoui@utc.fr),
Université de Technologie de Compiègne, CNRS, Compiègne, France
Date (DD/MM/YYYY): 04/02/2021
MATLAB Release Compatibility
Created with
R2021a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
