Consider the following very simple example:
diff(x .^ (symmatrix(eye(1)) - a), x)
ans =

The output of the function shoud be simply:
(symmatrix(eye(1)) - a)*x.^-a
while instead is returned exactly the same command of the input.
Is it a bug? Do you know any turn around?
Thank you