cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Using vectorized solve block to solve for multiple inputs.

Einhorn
1-Newbie

Using vectorized solve block to solve for multiple inputs.

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

1 ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:Einhorn)

Turn the solve block into a function.

View solution in original post

3 REPLIES 3
RichardJ
19-Tanzanite
(To:Einhorn)

Turn the solve block into a function.

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

Thanks again,

Mike Einhorn

RichardJ
19-Tanzanite
(To:Einhorn)

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

Top Tags