URL
https://opencores.org/ocsvn/gng/gng/trunk
[/] [gng/] [trunk/] [matlab/] [icdf_gen.m] - Blame information for rev 16
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
2 |
guangxi.li |
% ICDF_GEN Generate inverse of the normal cumulative distribution function
|
2 |
|
|
%
|
3 |
|
|
% The calling syntax is:
|
4 |
|
|
% x = icdf_gen(r)
|
5 |
|
|
%
|
6 |
|
|
% Input:
|
7 |
|
|
% z: pseudorandom numbers
|
8 |
|
|
%
|
9 |
|
|
% Output:
|
10 |
|
|
% x: Gaussian random numbers, n x 1 vector of 32-bit integer (s<16,11>)
|
11 |
|
|
%
|
12 |
|
|
|
13 |
|
|
% Copyright (C) 2014, Guangxi Liu <guangxi.liu@opencores.org>
|
14 |
|
|
%
|
15 |
|
|
% This source file may be used and distributed without restriction provided
|
16 |
|
|
% that this copyright statement is not removed from the file and that any
|
17 |
|
|
% derivative work contains the original copyright notice and the associated
|
18 |
|
|
% disclaimer.
|
19 |
|
|
%
|
20 |
|
|
% This source file is free software; you can redistribute it and/or modify it
|
21 |
|
|
% under the terms of the GNU Lesser General Public License as published by
|
22 |
|
|
% the Free Software Foundation; either version 2.1 of the License,
|
23 |
|
|
% or (at your option) any later version.
|
24 |
|
|
%
|
25 |
|
|
% This source is distributed in the hope that it will be useful, but
|
26 |
|
|
% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
27 |
|
|
% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
28 |
|
|
% License for more details.
|
29 |
|
|
%
|
30 |
|
|
% You should have received a copy of the GNU Lesser General Public License
|
31 |
|
|
% along with this source; if not, download it from
|
32 |
|
|
% http://www.opencores.org/lgpl.shtml
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.