bar2dbar

PURPOSE ^

BAR2DBAR Convert pressure from bars to decibars.

SYNOPSIS ^

function dbar = bar2dbar(bar)

DESCRIPTION ^

BAR2DBAR  Convert pressure from bars to decibars.

  Syntax:
    DBAR = BAR2DBAR(BAR)

  Description:
    DBAR = BAR2DBAR(BAR) converts pressure readings in array BAR from bars to
    decibars by multiplying by 10.

  Notes:
    This is simply a convenience function to call the conversion with an
    explicit name.

  Examples:
    dbar = bar2dbar(bar)

  Authors:
    Joan Pau Beltran  <joanpau.beltran@socib.cat>

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

bar2dbar.m

SOURCE CODE ^

0001 function dbar = bar2dbar(bar)
0002 %BAR2DBAR  Convert pressure from bars to decibars.
0003 %
0004 %  Syntax:
0005 %    DBAR = BAR2DBAR(BAR)
0006 %
0007 %  Description:
0008 %    DBAR = BAR2DBAR(BAR) converts pressure readings in array BAR from bars to
0009 %    decibars by multiplying by 10.
0010 %
0011 %  Notes:
0012 %    This is simply a convenience function to call the conversion with an
0013 %    explicit name.
0014 %
0015 %  Examples:
0016 %    dbar = bar2dbar(bar)
0017 %
0018 %  Authors:
0019 %    Joan Pau Beltran  <joanpau.beltran@socib.cat>
0020 
0021 %  Copyright (C) 2014-2016
0022 %  ICTS SOCIB - Servei d'observacio i prediccio costaner de les Illes Balears
0023 %  <http://www.socib.es>
0024 %
0025 %  This program is free software: you can redistribute it and/or modify
0026 %  it under the terms of the GNU General Public License as published by
0027 %  the Free Software Foundation, either version 3 of the License, or
0028 %  (at your option) any later version.
0029 %
0030 %  This program is distributed in the hope that it will be useful,
0031 %  but WITHOUT ANY WARRANTY; without even the implied warranty of
0032 %  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0033 %  GNU General Public License for more details.
0034 %
0035 %  You should have received a copy of the GNU General Public License
0036 %  along with this program.  If not, see <http://www.gnu.org/licenses/>.
0037 
0038   error(nargchk(nargin, 1, 1, 'struct'));
0039 
0040   dbar = bar * 10;
0041 
0042 end

Generated on Fri 06-Oct-2017 10:47:42 by m2html © 2005