Skip to main content
Best answer by JeffH1

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

JeffH1_0-1640916659475.png

 

 

2 replies

JeffH116-PearlAnswer
16-Pearl
December 31, 2021

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

JeffH1_0-1640916659475.png

 

 

25-Diamond I
December 31, 2021

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