06-17-2015 09:18 PM
I would like to find the minimum of a function using Brent method. I can use Find all minima or Brent with Derivatives VI from optimization palette. However, both VIs require using string as input, which is not convenient for me. Is there any option to use something more flexible like formula node. I need to do so because some parameters in the function are the outputs of previous calculations or have to be controls. For example let us say the function y=ax^2+b-c, where b is an output of previous calculation and c is a control. I attached my VI
06-17-2015 10:29 PM
Hi, generate the string based on the polynomial coefficients could help you. Your polynomial is always of the same degree?.
06-22-2015 08:05 PM
Thank you very much for your help. Could you gratfully attache the VI?
06-22-2015 08:15 PM
06-23-2015
08:26 AM
- last edited on
01-10-2024
01:59 PM
by
migration-bot
You can drag the code from the snippet onto your block diagram
More info on VI snippets if you are unsure
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x2PkCAI&l=en-US
06-24-2015 09:47 AM
VI attached.