SG_LOGNRND Replacement for LOGNRND from the Statistics Toolbox
0001 function r = sg_lognrnd(mu,d,m,n) 0002 %SG_LOGNRND Replacement for LOGNRND from the Statistics Toolbox 0003 0004 % SynGrid 0005 % Copyright (c) 2018, Electric Power and Energy Systems (EPES) Research Lab 0006 % by Hamidreza Sadeghian Virginia Commonwealth University 0007 % 0008 % This file is part of SynGrid. 0009 % Covered by the 3-clause BSD License (see LICENSE file for details). 0010 0011 r = exp(mu + d.*randn(m,n));