A dice roller for Matlab
- Downloads:
- Views:
- Rating:

SYNOPSIS: [total, details] = roll(str)
INPUT str: Dice to be rolled. XdY, where X and Y are scalars, rolls X
fair Y-sided dice. Both X and Y are necessary.
If str is empty or omitted, '1d20' is used as default.
ROLL replaces the dice expression(s) by the rolled result, and
then evaluates the string. This makes it possible to use any
function call as input to ROLL as long as the function name
does not contain the signature of a roll (i.e. a number
followed by the letter 'd' followed by a number). In practice,
if you use ROLL for games, you most likely need only + and -.
There is one special function, XdYbZ, that takes the best Z
rolls out of the X attempts. This is useful to generate
character abilities in role-playing games.
OUTPUT total: total of the roll
details: individual rolls (cell array with results for each
dice in the input
REMARKS (1) If no output is requested, results are printed to screen
(2) Thanks to John D'Errico for pointing out that it is possible
to use any function with roll (as long as it takes the
results of dice rolls as input)
EXAMPLES roll 2d6 rolls two 6-sided dice
roll 1d8+1d4-2 rolls a 8-sided dice, a 4-sided dice and subtracts
2 from the result
roll 1d2 rolls a 2-sided dice (i.e. a coin flip)
roll log(2^1d6) takes the natural logarithm of 2 to the power of
the result of the roll of a 6-sided dice.
roll 1+1 throws an error, because there are no dice to roll.
Free download from Shareware Connection - Dice to be rolled. XdY, where X and Y are scalars, rolls X
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 10-03-2013 | Rating: 0 | Title: A dice roller for Matlab
Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/27327/2/roll.zip
Automatic template for new functions - If you're tired of re-typing or re-copying the same header
Plot average line - plotAverage adds an average line into plotted data
Map texture to patch - patchTexture(patchHandle,texture)
Gaming Ladder and Tournament Scripts
Crorepati Game
Widget Basketball Team
Widget Cheerleader
Widget Football Team
Widget Hockey Team
Widget Soccer Team
Online Interactive 90 ball Bingo
Sportsbook Software
PardioWars - The Ultimate RPG Script!
CCleague Pro
NetBingo
DreamJokes
Hangman Script
Affiliate Programs
Animation
Auctions
Audio Systems
Banner Rotation
Blog
Bulletin Boards & Forums
Business & Enterprise
Buttons
Calendars & Events
Charts & Graphs
Chat
Classified Ad Managers
Communication
Dice Roller Program
Max Dice Roller Windows
Habbo Dice Roller
Tag A Dice
Advanced Dice Roller
Dice roller - Dice roller is a simple and lightweight application built using the Java programming language that you can use to generate polyhedral dice rolling scenarios.
dice roller c++ - dice roller c++ was developed as a simple and accessible application that rolls a dice 36000 times and tells you the stats.
Kinect for MATLAB - Kinect for MATLAB is a handy MEX collection that allows you to get images captured with a Kinect device to your Matlab environment.
Quaternion toolbox for Matlab - Quaternion toolbox for Matlab was developed as an accessible and open source tool that enables you to perform quaternion calculations in Matlab.
YNG's Dice Box - Role Play Tools - A Java Implemented tool to sumlate dice roller for a Role Play Game Session.
Shareware Connection periodically updates pricing and software information of 'A dice roller for Matlab' from company source 'Jonas' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using 'A dice roller for Matlab' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of A dice roller for Matlab.
PictBear - Nowadays, a majority of PC users resort to digital image editing once in a while. It may be required for retouching image captured in smart phones or for creating an album in Facebook. For some people, tinkering with digital images is a pastime ...
TuckAway Intelligent Email Organizer Pro - Using an email software allow you to do a number of things including managing your address lists, emails and even ending memos, documents and even virtual letters. You can also use it to manage your tasks easily. The email software comes in ...
Sony Movie Studio 13 Platinum - Sony enjoys a prime position in consumer level media software development and its Movie Studio has a large fan following. However, in recent years competition from Adobe and Corel has caught up. The recent overhaul of Sony’s video editor ...
Poser - The concept of 3D animation and modeling may seem amazing to the viewers but those who are into the industry know it is no cakewalk. Majority of 3D animation and modeling software known for some of the amazing animations and CGI work in films ...
Focus One Mind - Technology has made life easier for humans beyond doubt but it comes with the downfalls too. The web serves as the source of entertainment, income and resource for several things for most people. However, the internet can also become a source of ...
Magic Uneraser - Data loss can occur owing to a number of reasons, both within and beyond your control. Whether you have lost data owing to careless of another user or a hard drive failure has occurred, it is important to retrieve the data at any cost. There are ...
PureSync Personal - When you use computers, there is no way you can escape using specialized third party software. These need to be used for various needs including office productivity, web access, taking back-up and ensuring proper synchronization across multiple ...
MacCleanse - Macs are known for their multitasking prowess and near perfect performance over other type of computers. However, after prolonged usage a Mac can also run slower than usual. In such situations, you can try third party clean up and maintenance ...
Quick Heal PCTuner - Performance deficit or unexpected slowdown is something most PC users are acquainted with. Even those with powerful laptops and desktops have to face these issues from time to time. A PC can run slowly when temporary files clutter the HDD or ...
Pixelmator - There is no denying the fact that Mac users are often left with fewer third party app choices than those who use Windows based PCs. However, when it comes to imaging, the situation is a little better. If you want a versatile image editor for Mac ...

