I need help ploting a graph

1 visualización (últimos 30 días)
Tomás Oliveira
Tomás Oliveira el 18 de Jun. de 2019
Respondida: Walter Roberson el 18 de Jun. de 2019
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

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by