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
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.
Solved! Go to Solution.
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.
Thank you! Yes, that seems to be the fix.
Or deleate [NaN NaN] of first row.
or