How can one do scientific calcs in Flowcode or C, such as W = (V)^1.5?
Same thing as V x V / SQRT V. So can do it if it is possible to do a square root.
Ideally I'd like to do complex things like W = (V)^1.7 where the SQRT fix is no use.
Scientific calcs and Look up tables
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
At the moment, this is not easy - although it is possible with some effort.
Do do this, I would recommend creating some kind of look-up table (probably in C or Assembly) and then using interpolation to find an approximate answer to the calculation.
We are looking at ways of improving Flowcode in this regard and I hope that it will soon allow you to insert your own look-up tables without needing to understand C or Assembly. Unfortunately, you will need to wait for version 4 for this kind of functionality.
Do do this, I would recommend creating some kind of look-up table (probably in C or Assembly) and then using interpolation to find an approximate answer to the calculation.
We are looking at ways of improving Flowcode in this regard and I hope that it will soon allow you to insert your own look-up tables without needing to understand C or Assembly. Unfortunately, you will need to wait for version 4 for this kind of functionality.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
I am currently working on a Sin wave example. Bear with me and hopefully it will be finished by the end of the day. If not then it will be early next week.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Hello
Ok the Look Up Table example is now finished.
Please see the following post on the forums.
http://matrixmultimedia.com/mmforums/vi ... php?p=5509
Ok the Look Up Table example is now finished.
Please see the following post on the forums.
http://matrixmultimedia.com/mmforums/vi ... php?p=5509
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel