Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
iScripts EasySnaps 1
iScripts EasyIndex 1
iScripts NetMenus 2.0
Single Leg MLM 1.2.1
Quick Maps For Dynamics CRM 3.1
phpEnter 5.1.
Exlcart 2.0
SuiteCRM Theme Customization 7.11.6
School College ERP 1.3.2
Answers phpSoftPro 3.12
Spectrum Analyzer pro Live 2019
RentALLScript - Airbnb clone 2.2
Devart Excel Add-in for HubSpot 2.1
Source Control for SQL Server 2.0
White-label Grocery Delivery App Solution 2.0
Top Rated
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
random number generator for linear distribution 1.0
File ID: 82070






random number generator for linear distribution 1.0
Download random number generator for linear distribution 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 4
Submit Rating:
random number generator for linear distribution 1.0 Description
Description: Return random variable(s) with linear distribution within [0,1] and 0 outside; m specifies the slope

In other word
P(x)= mx+b if 0<=x<=1
P(x)= 0 otherwise

where b=1-m/2 as int P(x) should be 1

Usage: ran=randl(m,SIZE)

E.g. X=randl(1,[20,20])
X is matrix with size [20,20] and with distribution
p(x)=x+0.5 if 0<=x<=1 and p(x)=0 otherwise

License: Shareware

Related: b3d1m2, Usage, ran drandlmsize, px3d0, px3dx2b05, Matrix, drandl

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 4



More Similar Code

Implements a complementary-multiply-with-carry psuedo-random-number-generator. Period is 3636507990 * 2 ** 43487 (approximately 10 ** 13101).



MVG is a multivariate Gaussian (normal) random number generator. A user can generate a vector from the multivariate normal distribution of any dimension by specifying a mean vector and symmetric positive-definite covariance matrix. A linear...



Generation Of Solid Shapes Using Random Number Generator.
The Solid Shapes included are:
1) Cuboid/Cube
2) Sphere
3) Cone
4) Conical Frustum
5) Pyramid
6) Pyramidal Frustum
7) Cylinder

Take it as...



This is a pseudo-random number generator test.

(There are many known tests for pseudo-random generators
but I came up w/ this one on my own. I don't know
if it is an already known method or not.)

Idea is this:



This method uses inverse IFS transformations (assume new x, new y are known and x, y are unknown and solve the equation), and unlike IFS algorithm, it does not use a random number generator and neither the probability coefficients for each IFS...



function y = laprnd(m, n, mu, sigma)
%LAPRND generate i.i.d. laplacian random number drawn from laplacian distribution
% with mean mu and standard deviation sigma.
% mu : mean
% sigma : standard deviation
% [m, n] : the...



This method uses inverse IFS transformations and it does not use a random number generator.



A uniform random number generator is used to generate the binary information sequence from the binary data source. The sequence of d-de?0d-deOaos and d-de?1d-deOaos is mapped into sequence of +E and d-deOCtE
where E represents the signal...



KKTechGameMaster is a word editor and random name generator for role-playing aid to help Game Masters in the fulfillment of new adventures. The suite covers desktop and mobile applications with different languages (VB6, VB .NET, Java, J2ME).



A random number generator based on data from human interface devices. A trayicon that provides access to the generated data in various data ouput formats: Guids, Passwords, Files etc. Future goal is build-in P2P exchange of gathered data.

User Review for random number generator for linear distribution
- required fields
     

Please enter text on the image