I need help ploting a graph

1 view (last 30 days)
when i try to plot a graph made of this equation i get an error saying Error using ^
Incorrect dimensions for raising a matrix to a power. Check that the matrix is
square and the power is a scalar. To perform elementwise matrix powers, use'.^'. i've tryed to plot it like this:
x=[0:0.1:40]
and
y=5*(1-0.5772156649^(-x/4.8))
pls halp

Accepted Answer

Walter Roberson
Walter Roberson on 18 Jun 2019
y=5*(1-0.5772156649.^(-x/4.8))

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!