source: LMDZ6/trunk/libf/phylmd/ecrad/test/i3rc/smooth1D.m @ 5456

Last change on this file since 5456 was 4773, checked in by idelkadi, 13 months ago
  • Update of Ecrad in LMDZ The same organization of the Ecrad offline version is retained in order to facilitate the updating of Ecrad in LMDZ and the comparison between online and offline results. version 1.6.1 of Ecrad (https://github.com/lguez/ecrad.git)
  • Implementation of the double call of Ecrad in LMDZ


File size: 107 bytes
RevLine 
[4773]1function [Ds] = smooth1D(D)
2Ds=D;
3s = length(Ds);
4Ds(2:s-1) = 0.25 .* (D(1:s-2)+D(3:s)) + 0.5 .* D(2:s-1);
Note: See TracBrowser for help on using the repository browser.