Matlab Database > Miscellaneous > Random Expression Generator

Matlab File(s)

Title: Random Expression Generator
Author: Andreas Klimke
Institution: Technische Universität München
Description: Generates random symbolic expressions from a predefined set of operators and functions.
  • S = RANDEXPR(NP, LEN) automatically generates random symbolic expressions of a specified number NP of symbolic variables. The length LEN of the expression denotes the total number of variable occurences. The expression is returned as a string.
  • S = RANDEXPR(NP, LEN, CONSTANTS, RANGE, TYPE, NESTING) extended syntax to manipulate the occurence of constants and the degree of nesting of the created expression.
  • S = RANDEXPR(NP, LEN, OPTIONS) allows to specify a large set of options to alter and fine-tune the symbolic expression generation facility. It allows to define additional groups or completely new sets of operators and functions for maximum flexibility.
Keywords: random symbolic expressions, random functions, random function generation
File Name: randexpr.m
File Size: 17 KB
File Version: 1.02
Matlab Version: 6.0
Date: 2003-03-17
Downloads: 2123
Download File

Upload your own files today! Click here for more information.