Why does the output of pretty(sym('I')) read 1i?

1 view (last 30 days)
Joseph
Joseph on 22 Apr 2016
Answered: Torsten on 22 Apr 2016
If I enter
pretty(sym('I'))
MATLAB returns
1i
which seems odd. It doesn't seem to happen for any other characters. Why is this?

Answers (1)

Torsten
Torsten on 22 Apr 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!