pi i jMATLAB represents as
j. You could reassign the variable
pithe value 2 (
i=2) but I think that is a bad idea. If you do something like that and regret it, you can restore a built-in variable to its original value with the
clear pi. In fact, you can clear all of your variables with
clearwith no argument.