MATLAB: Independence Day weekend puzzler

puzzler

Inspired by an assignment in my son's Java programming class:
Write a one-liner that takes as input an array of numbers (e.g. x = [1 2 3]) and which outputs an array of integers that is "incremented" properly, (in this case, y = [1 2 4]).
Examples of proper input/output:
x = [1 9 1 9] —-> y = [1 9 2 0]
and
x = [9 9 9] —-> y = [1 0 0 0]
No semicolons allowed in your one line!

Best Answer

I like this Golf challenge. Inspired by Paulo's entry.
num2str(str2num(sprintf('%d',x))+1)-'0'
is shorter.