Borrar filtros
Borrar filtros

fplot a function in different intervals

1 visualización (últimos 30 días)
Yaser Khojah
Yaser Khojah el 26 de Jul. de 2018
Editada: madhan ravi el 26 de Jul. de 2018
I'm trying to plot a function in two different intervals. The function is the following:
if true
G = [14000000 10000000];
r_s = [1095000 255500];
d = [.1 .1];
t_0 = [0 0];
DF = @(r_s) (G ./ r_s) - (1 ./ d) + t_0;
fplot(DF)
end
Since I have two elements in the vector, the first element interival is = [400000 1400000] and the second is [222222.222222222 1000000].
Thank you so much for taking the time and looking into this.

Respuesta aceptada

madhan ravi
madhan ravi el 26 de Jul. de 2018
Editada: madhan ravi el 26 de Jul. de 2018
Hi ,
fplot(DF,[400000 1400000])
fplot(DF,[222222.222222222 1000000])
Is this what you are looking for?

Más respuestas (0)

Categorías

Más información sobre Time Series en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by