我如何将x ='abs'转换为abs以便我可以执行z = abs(-5)= 5.或者其中x ='randfunc'其中'randfunc'可以是与函数相关的任何输入字符串.
>> x x = abs >> x(-5) Subscript indices must either be real positive integers or logicals.
matlab
matlab ×1