hello, i have simple series,
i wish to plot this equation for r[1,5]
how should i do it?
I tried to do a function but because the value squared and the r changes it dosnt converge,
It's part of a pretty urgent physical study so I'd love someone to help me!
Even a beginner's guide to series of this kind

9 comentarios

Torsten
Torsten el 15 de En. de 2022
What do you mean by r[1,5] ?
You want to plot two series, one for r=1 and one for r=5 ?
Keren Grinberg
Keren Grinberg el 15 de En. de 2022
no, i mean r = linspace(0,5)
i need to cpmare this equation to others that look like that:
Torsten
Torsten el 15 de En. de 2022
i need to cpmare this equation to others that look like that:
What does cpmare mean ?
What is the value for x_0 you are supposed to use ?
Torsten
Torsten el 15 de En. de 2022
Ah, google was successful associating "compare" with "cpmare"
Keren Grinberg
Keren Grinberg el 15 de En. de 2022
compare sorry,
In fact the u represents a turbulent flow velocity so it is difficult to define zero conditions, but for r = 1 the initial velocity is 0
Torsten
Torsten el 15 de En. de 2022
Editada: Torsten el 15 de En. de 2022
Which recursion is used for the graphics you included ?
Can you give a link to a publication ?
I thought your problem was just as easy as
x0 = 0.2;
niter = 5;
R=(0:0.1:5).';
N = numel(R);
x = zeros(1,niter);
X = [];
for i=1:N
r = R(i);
x(1) = x0;
for j=1:niter-1
x(j+1) = r*x(j)*(1-x(j));
end
X = [X;x];
end
plot(R,X)
but now I have doubts if this is really what you are aiming at.
Keren Grinberg
Keren Grinberg el 15 de En. de 2022
no but ill try to use this, thank you very much
Torsten
Torsten el 15 de En. de 2022
And you can't describe the real task ?
Keren Grinberg
Keren Grinberg el 15 de En. de 2022
i can but i dont know if it will help for solve this,
i have an equation: () which describes an equation representing a turbulent flow. In my calculations I have done an average for this equation and right now I want to compare the average obtained (as can be seen in the graphs) to

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Physics en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 15 de En. de 2022

Comentada:

el 15 de En. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by