Skip to main content
1-Visitor
June 10, 2014
Solved

Using vectorized solve block to solve for multiple inputs.

  • June 10, 2014
  • 3 replies
  • 1704 views

Hello,

I am trying to use a solve block to solve the same equation for a range of inputs using the vectorize function. I have had success doing this before (thanks to other threads I have read here!). For some reason on this particular problem I cannot get it to work. If someone might have any suggestions after looking at the attached worksheet it would be great appreciated. In the worksheet I first solve the problem for a single input which works, then I try the multiple inputs but can't get the solver to return anything other than the inital guess.

Thanks,

Mike Einhorn

Best answer by RichardJ

Turn the solve block into a function.

3 replies

RichardJ19-TanzaniteAnswer
19-Tanzanite
June 10, 2014
Einhorn1-VisitorAuthor
1-Visitor
June 10, 2014

Thanks Richard!...and interesting that you didn't have to vectorize the equation. Because it is a function correct?

Thanks again,

Mike Einhorn

19-Tanzanite
June 10, 2014

You need to vectorize it when you call the function, not when you create it.