0
$\begingroup$

How does one plot $y=|x|$ in MATLAB?

  • 0
    http://www.mathworks.com/matlabcentral/fileexchange/31013-simple-real-fourier-series-approximation Download this pkg and extract it to your path, now just follow his example.2012-10-16
  • 0
    I have rolled back the edit on this question to the original, and added the OP's updated question regarding $y=|x|$ to the post in order to maintain a sense of context and continuity with the question the OP is asking, as the disjunction of the two has led to some apparent confusion. @Albert if your original question is no longer relevant, feel free to comment, answer your own question, or edit the post as such.2012-10-16

1 Answers 1