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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

CAN I SOLVE MULTIPLES in SOLV E BLOCK

ppal
17-Peridot

CAN I SOLVE MULTIPLES in SOLV E BLOCK

Hi

Can I solve for multiple inputs?

ppal_0-1640903407635.png

 

ACCEPTED SOLUTION

Accepted Solutions
JeffH1
16-Pearl
(To:ppal)

No, but you can turn the Solve Block in to a function of a parameter and call it many times.

JeffH1_0-1640916659475.png

 

 

View solution in original post

2 REPLIES 2
JeffH1
16-Pearl
(To:ppal)

No, but you can turn the Solve Block in to a function of a parameter and call it many times.

JeffH1_0-1640916659475.png

 

 

Werner_E
25-Diamond I
(To:ppal)

Personally I prefer setting up calculations to be done with single scalar values, turning them into functions of the input values and then calling those function (vectorized) with the desired input vectors.

This is similar to what Jeff already had shown but without using any range variable N:

Werner_E_0-1640920850859.png

BUT ... if you really want to solve a vector equation in a solve block, you also can do that. Simply provide an appropriate guess vector (and please don't use range variables 😉

Werner_E_1-1640920961370.png

 

Announcements

Top Tags