Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

User defined variable & Circle Plot

Snowshoe_Bob
12-Amethyst

User defined variable & Circle Plot

I had a circle function that was working fine until I re-defined some of the variables as Ohms-secondary.  The plot is blowing up now and I'm not sure why.  See attached.

 

 

ACCEPTED SOLUTION

Accepted Solutions

Thank you!  Yes, that seems to be the fix.

View solution in original post

3 REPLIES 3

Silly (and IMHO unnecessary) as it may be, Prime insists that the NaN's must have the same unit as the rest of the matrix!

So the fix is to add the units - I am using the SIUnitsof the center M which must be the same units as the radius r.

Werner_E_0-1693328753988.png

Werner_E_1-1693328781222.png

 

 

 

Thank you!  Yes, that seems to be the fix.

Or deleate [NaN NaN] of first row.

image.png or 

ttokoro_0-1693352537720.png

 

Announcements

Top Tags