Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

DOUBLE cannot convert the input expression into double array

  1. Feb 23, 2015 #1
    Hi Folks,

    I have a symbolic A=18*1*18 array containing symbols/expressions. I want to populate certain entries of this array into another matrix. For example


    I get the following

    ??? The following error occurred converting from sym to double:
    Error using ==> mupadmex
    Error in MuPAD command: DOUBLE cannot convert the input expression into a double array.

    If the input expression contains a symbolic variable, use the VPA function instead.

    I have tried
    K(1,1)=vpa(A(1,1,1)) and other forms but no luck
    Is there a workaround?
  2. jcsd
  3. Feb 24, 2015 #2
  4. Apr 4, 2015 #3


    User Avatar

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook