Recent content by badali

  1. B

    MATLAB Matlab: Use string variable as variable name

    Hello, An alternative solution to the one previously posted ( using the assignin function ) is to use the eval function to execute code which is partially specified in a string. For example, myvarname = 'f_x'; eval([sprintf(myvarname) '=[10 20 30]']); Will create a variable called...
Back
Top