12.07.2015 Views

Matlab/Octave Tutorial

Matlab/Octave Tutorial

Matlab/Octave Tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Approach when limit depends on direction•>> value_left = limit(tan(x),x,pi/2,'left'),•>> value_right = limit(tan(x),x,pi/2,'right')•Conclusions?•MATLAB's numeric engine gives a finite, albeit verylarge, value. Big mistakes could result if this wereused in subsequent calculations.•The symbolic engine gives both values correctly, butto get them you must add the additional argumenttelling MATLAB from which direction to approach thelimit ('left' beginning with smaller values of x andincreasing to the limit, and 'right' beginning with largervalues of x and decreasing to the limit.142

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!