-
Notifications
You must be signed in to change notification settings - Fork 0
/
mvtransabs.m
29 lines (26 loc) · 895 Bytes
/
mvtransabs.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
function [Y] = mvtransabs(X)
%MVTRANSABS -- Convert spectral transmittance data to absorbance
%
% Usage:
% [Y] = mvtransabs(X)
%
% Inputs:
% X is the input transmittance data matrix, objects in rows
%
% Outputs:
% Y is the output absorbance data matrix
%
% Description:
% Convert spectral transmittance data to absorbance.
% A = log10(1/T)
% See also 'mvabstrans'.
%
% Copying:
% MVARTOOLS, Copyright (C) 1999-2001 Rune Mathisen <[email protected]>
% MVARTOOLS comes with ABSOLUTELY NO WARRANTY; for details type
% `mvwarranty'. This is free software, and you are welcome to
% redistribute it under certain conditions; type `mvcopying' for
% details. For more information on MVARTOOLS, type 'mvreadme'.
% $Id: mvtransabs.m,v 1.2 2001/12/04 10:16:48 rune Exp $
Y = log10(1./X);
% end of mvtransabs