Hi

Has anyone come across the following before?

If I create a one line m-file sq.m with the contents

a = sqrt(sqrt(-1))

I get the (incorrect) answer

a =Quote:>> sq

0.7071

However if I type the same contents to the command line I get the

(correct) output

ans =Quote:>> sqrt(sqrt(-1))

0.7071 + 0.7071i

Any thoughts?

Thanks,

AG