how to plot graphs of function e^ax+b in matlab?

Answers (1)

a = 1
b = 1
fplot(@(x)exp(a*x)+b)
Now vary a and b.

4 Comments

thank u sir.i needed some help with other questions kindly help me.
1. Plotting the graphs of the functions e^ax+b , log (ax + b), 1/ (ax + b), sin (ax + b), cos (ax + b), ax + b an d to illustrate the effect of a & b on the graph. 2. Plotting the graphs of the polynomial of degree 4 and 5, the derivative graph, the second derivative graph and comparing them. 3. Sketching curves ( Cardioids, asteroid, cissoids, catenary, cycloid folium of Descartes) 4. Tracing of conics (Ellipse, Parabola, Hyperbola) 5. Matrix operation (addition, multiplication, inverse, transpose)
Those sound like homework questions. In general people on MATLAB Answers are willing to HELP with homework questions if you show what YOU have done to try to solve them and ask a SPECIFIC question.

Sign in to comment.

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 5 Jan 2017

Commented:

on 15 Jan 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!