Community Profile

photo

Avan Al-Saffar


The University of Sheffield

2014년부터 활동

통계

  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


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

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


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;...

7년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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...

거의 8년 전 | 답변 수: 0 | 0

0

답변

답변 있음
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, ...

8년 초과 전 | 0

질문


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...

8년 초과 전 | 답변 수: 2 | 0

2

답변

1

답변

질문


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...

8년 초과 전 | 답변 수: 4 | 0

4

답변

질문


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. ...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

거의 9년 전 | 답변 수: 1 | 0

1

답변

질문


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...

거의 9년 전 | 답변 수: 1 | 0

1

답변

질문


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 ...

거의 9년 전 | 답변 수: 2 | 1

2

답변

질문


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....

거의 9년 전 | 답변 수: 1 | 0

1

답변

질문


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 ...

대략 9년 전 | 답변 수: 1 | 0

1

답변

질문


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...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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);...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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]=...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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 ...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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=...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

9년 초과 전 | 답변 수: 0 | 0

0

답변

1

답변

질문


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

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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]; ...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

9년 초과 전 | 답변 수: 1 | 0

1

답변

더 보기