MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by maharaj
on 23 Feb 2013

This question is closed and may reopen in the future if edited.

exp(-ax+bx^2) where x ranges from 5-250 incrementing by 1.

a and b are constants.

I was getting an error while plotting dont know what was wrong.

## 1 Comment

## Walter Roberson

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/64682#comment_131812

duplicates http://www.mathworks.co.uk/matlabcentral/answers/64605-how-to-plot-a-function-like-this-in-matlab