Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to plot this function in matlab?

3 visualizaciones (últimos 30 días)
Ahmad
Ahmad el 28 de Mayo de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
x=e^((y-b)/a)

Respuestas (2)

John D'Errico
John D'Errico el 28 de Mayo de 2016
Editada: John D'Errico el 28 de Mayo de 2016
help exp
help ezplot
Subtract x. Don't have the equality in there. ezplot will assume the result is implicitly equal to zero, but if you put in an equality symbol, it will get confused.
Of course, if b and a are not known, then how do you expect any plot? So, supply some values for b and a FIRST.
Or, just take the log, then solving for y.

John BG
John BG el 13 de Mzo. de 2017
Hi Ahmad
with new fplot is even easier
a=1,b=2;fplot(@(x) exp((x-b)/a))
if you find this answer useful would you please be so kind to mark my answer as Accepted Answer?
To any other reader, please if you find this answer of any help solving your question,
please click on the thumbs-up vote link,
thanks in advance
John BG

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by