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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Question about Determinant in solve block

ptc-4735478
12-Amethyst

Question about Determinant in solve block

Can someone tell me what is wrong with the setup of the solve block?

I have trouble using the determinant operator is solve block.

When I set a determinant of a matrix say, |M| = 0, it returns an error saying the RHS of the determinant must be a vector of scalars

Even when I use determinant operator to return the norms of a vector, it is still an error

I tried to simply define a new variable M1:= |M| and M1=0

so I do not have to actually use the determinant operator in the solve block, but still no luck

do not understand what is wrong

Thanks

4 REPLIES 4

May be so - in attach.

Thanks Valery,

but this is not really what I am looking for

I am wondering is there a way to setup the solve block without the symbolic calculation of |M1| or |M2| ahead of time. But if a symbolic calculation is a must, I am okey with it too...

henry leung wrote:

...

I am wondering is there a way to setup the solve block without the symbolic calculation of |M1| or |M2| ahead of time. But if a symbolic calculation is a must, I am okey with it too...

No need for a symbolic calculation - see attached.

Alan

Werner_E
25-Diamond I
(To:ptc-4735478)

How about parameterizing the solve block? See attached.

determsolve1.png

or a variant:

determsolve2.png

Announcements

Top Tags