I need help ploting a graph

1 回表示 (過去 30 日間)
Tomás Oliveira
Tomás Oliveira 2019 年 6 月 18 日
回答済み: Walter Roberson 2019 年 6 月 18 日
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 Center および File Exchange2-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