photo

Avan Al-Saffar


The University of Sheffield

Con actividad desde 2014

Followers: 0   Following: 0

Mensaje

Estadística

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


How to plot a mean value as a function of specific value pairs ?
How can I plot the following data in a nice plot? a=[ [1 2], [2 3], [4 5] ]; mean= [ 5.43, 6.78, 5.66]; Thank you

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to find fft for a system of two variables? Can you check my code if it is right, please?
function aaa b= 3; [t,x]=ode45(@DoubleSpeciesSystem, 0:0.01:10000 , [30 6] , [] , b); n = length(x); h=0.01;...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to find fft for part of my output? I mean after removing the initial transient of my data, I need for only x(4000:5000).
x and t are vectors of 0:0.1:5000; n = length(x); dt = t(end)/(n-1); Fs=1/dt ; NFFT = n ; y=fft(x,N...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Respondida
If I have many figures, how can I find a slope for each one and compare between thier slope?
The attached file is my code. I've found a curve fit and gradient but I do not know how to decide which figure is steepest, ...

alrededor de 9 años hace | 0

Pregunta


If I have many figures, how can I find a slope for each one and compare between thier slope?
I need to check which plot is steepest? I used polyfit to fit a curve and find a gradient but I do not know how to compare betw...

alrededor de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Can anyone help me with this error please? '' In an assignment A(I) = B, the number of elements in B and I must be the same. Error in RunFib (line 21) JTime(j) = integral(f,0,t(1,j),'Waypoints',t)./ t(1,j); ''
My code is : function RunFib x0=[12 5]; b = 3 ; tspan = 0 : 0.001 : 10 ; t0 =tspan(1); ...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Could anyone help me with tolerances erroe that I got when I am trying to implement an integration please??
function RunLogisticOscilFisher omega=1; k=10; N0=1; A=1; p0=.1; tspan=(0:0.01:100); % Finding the numeri...

más de 9 años hace | 4 respuestas | 0

4

respuestas

Pregunta


ksdensity with different colors
I need to plot PDF using '' ksdensity(x) '' for many population at the same figure with different colors for each population. ...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How can I shrink the time of getting the results please?
I run the following code for 13 days until I got the results so could anyone advise me if there is any truck that I can use to s...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Can anyone help me to sort the following message error?
My code is : function FA21May2015 x0=0.1; omega = 1 ; tspan =(0:0.1:50); x = logisticOscila...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Which is faster, a row vector or a column vector? Can anyone answer me please?
I am trying to do some integration so I am defining the output as a matrix, my question is which definition will give me faster ...

más de 9 años hace | 2 respuestas | 1

2

respuestas

Pregunta


How to find a probability density function please?
I have the following system : dxdt = A.*x.^2 ; how can I find a PDF for this system for different values of A and t = 0:0....

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Can anyone help to write a code for plotting the following equation with time please?
x = exp( (-B/omega) * cos(omega * t) ) ... ./ ( (B/A)*(integral(exp( (-B/omega)* cos(omega * t) )))) Where ...

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How can I write a code to solve the following system please?
P = ( exp((-./2).*(exp(i.*t) + exp(-i.*t))) )./(integral(exp((-./2).*(exp(i.*t) + exp(-i.*t)))dt)) I can write a code to solv...

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to remove points in time vector when I am getting a blowup Fisher information at those points please?
The code is : function RunlogOscilnumericfishfixedn0omega2 omega=1; N0=1; k = 10; A = 1; p0 = 0.1; t=(0.01:0.1:1000);...

alrededor de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Could anyone help me with this warning please?
This is my code : function RunLogOscilNumeric3 k =10; p0 =0.1; t =(0:0.01:10000); omega = 1; N0 = 1; [t,p]=...

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Why the if statement does not work when I am trying to avoid the singularity in my code ??
function RunlogisticOscilnumericalfisherfixedn0omega omega=1; N0=1; k = 10; A = 1; p0 = 0.1...

alrededor de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Could anyone help me with the interp1 please?
I have a system of two equations with two variables,I am using ode45 to solve the system numerically then trying to find Fisher ...

alrededor de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How could I get the histogram corresponding to probability of finding the predator-prey model in specific integer combinations please?
I have the following system : dy0/dt = a*y0 - b*y0*y1 dy1/dt = -c * y1 + e *y0*y1 y0 =12 y1 = 5 a=15 b=2 c=...

alrededor de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to write a code for finding a definite integral for ( 1/x(t).^2 ) please?
My system is : dx/dt = 2*x 1- I solved numerically using ode45. 2- Depending on the values that I got from ode45, I wan...

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


The result is not what I want it is completely different ,,so Is there anyone could help me to use another routines to get the result for this code please?
This code what I am doing,, My problem is in plot(4),The result is not what I want it is completely different ,,so Is there anyo...

alrededor de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


I am plotting the logistic growth model using ode45,But I am confused because I am getting oscillation while I should get a constant line so do you think there is another routine could I use it or I need to change something to get the right plot??
The model is : dxdt=N0*x*(1-x/k) What I am doing is : tspan=0:0.001:100; x0=0.1; [t,x]=ode45('funname',tspan,x0...

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to solve this equation S= integrate((1-2*x).^2)./((x-x.^2).^2)) dt
I want to solve this integration for time where t= 0:1

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How could I plot this function ( I =A* sum( ( (dt.^2)*(B.^2) )/(C.^2) ) with time please? I am getting just a constant line while I expect to get a curve because it is a function of time.
I am working with this code but it does not give me the result that I expect : function RunFisherfixedb x0=[12 5]; ...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Could anyone check my ode45() code please?
*NB* Moved the following from title to body but have no idea what the real question is...dpb Because nu represents the mea...

más de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


I am trying to find the summation!!
My equation is I = sum(delta t) delta t = t(n+1) - t(n) n=200; could anyone help me to understand what is...

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


I am trying to plot this function dpdt = N0*sin(omega*t)*p*(1-p/K); but I got an error, Please could anyonre help me to solve this error?
The code that I am using to plot the previous logistic growth model is : function RunLogistic [t,x]=ode45(@logistic42,[0 2...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Trying to plot fft,,Please help
My code is : function RunOsciliation5814 % Solving and ploting the Logistic model with an extra forcing parameter % dxd...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Trying to plot 3-d
My equation is dxdt=N0*sin(omega*t)*x*(1-x/K); N0=1:1:10; omega=1:1:10; I want to plot 3-D for N0,omega,Xmax and Xmean...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Cargar más