Clear Filters
Clear Filters

Using matlab for randomly combining mathematical operators/​functions/​variables (like in symbolic regression)

2 views (last 30 days)
Hi all,
I'm interested to know what would be the easiest way to implement an algorithm in matlab that combines specified mathematical operators/functions/variables and uses them to create a formula, e.g. operators and functions like +,-,*,/,sin,cos,tan which are combined to produce formulas based on two specified variables a,b. For example a+b/a*sin(a) or a*sin(b)-1/b asf.
Any recommendations for an easy implementation appreciated!

Answers (1)

Star Strider
Star Strider on 2 Aug 2016
It depends on what you want to do. I would start here: Array vs. Matrix Operations

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!