source: LMDZ6/branches/cirrus/libf/phylmd/ecrad/test/i3rc/smooth1D.m @ 4945

Last change on this file since 4945 was 4773, checked in by idelkadi, 12 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
Line 
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.