|
|
| File Information |
| Description |
Say you have a really nice function that transforms an input value into a output value. Now say you want to the opposite transformation. You can either go back and redo all of the math to reverse the transformation, or you can be lazy and use GoalFind. Here is a silly example sqrt(144) = 12. sqrt(?) = 10.
GoalFind('sqrt(N)',10,1000,2, 1, 1)
The arguments that go in are:
1. the formula ex. 'sqrt(N)'
2. the goal ex. 10
3. the maxium value you expect
4. the minimum value you expect
ex. I think the sqrt(?)=10 where ? is less than 1000 and greater than 2
5. how long in (seconds) can matlab work before you run out of patients
ex. 1 (work for a max of 1 second)
6. toggle printing the formula
ex. 1 will print to screen 'sqrt(100)=10' a 0 argument will print nothing.
|
| MATLAB release |
MATLAB 7.9 (2009b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 03 Oct 2009 |
Jan Simon
|
|
|
|
Contact us at files@mathworks.com