Skip to main content
15-Moonstone
August 19, 2019
Solved

Array in solve block

  • August 19, 2019
  • 1 reply
  • 1720 views

Hello everyone

 

I want use array in solve block.

I attached file "test2".

But I have "pattern match exception" error...

 

I also try without array.

I attached file "test1"

I have also error, but I can use this result.

 

Please advise on this difference.

 

 

Best answer by Werner_E

Unfortunately a solve block won't work with vector elements.

 

BTW, why use symbolic evaluation and why are you stripping the units?

Guess its faster an better to use numerics with units:

B.png

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
August 19, 2019

Unfortunately a solve block won't work with vector elements.

 

BTW, why use symbolic evaluation and why are you stripping the units?

Guess its faster an better to use numerics with units:

B.png

ssato15-MoonstoneAuthor
15-Moonstone
August 19, 2019

Hello Werner_E san

 

It is a pity that arrays cannot be used in solve blocks.

 

This solve block result is used to find the frequency and

some component values ​​in another solve block later.

 

(1) Make it look simple I thought I used an array.

(2) In order to obtain variables including units

  with different frequencies and component constants

in the solve block at the latter stage,

the unit is intentionally omitted.

 

Thanks