I need help ploting a graph

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by