Question

Need the backward trajectories of ode plot

I have a system of differential equations which I can solve by Euler's method. The following code gives a plot of a trajectory t...

bijna 11 jaar ago | 1 answer | 0

Question

How to solve odes without using ode package rather using RK4 method.

How to solve system of ODES without using Ode package rather using RK4 method and plot(t,y1,t, y2,t, y3). dy1/dx = 3*y1+y2; ...

bijna 11 jaar ago | 0 answers | 0

Question

How to plot a BAR chart

How to plot a BAR chart with the following data X: 28-30 22-27 13-21 8-12 4-7 Y: 3 16 70 8 3

bijna 11 jaar ago | 1 answer | 0

Question

solve an expression and plot

Suppose, for each alpha, I have to find a delta which is the highest positive root of the equation A^2-4*B*beta=0. The expressi...

bijna 11 jaar ago | 2 answers | 0

Question

Implicit function plot of function having discontinuity at origin.

I have a implicit function to be plotted which is (1-x)-a*x.*y./(x.^2+b*y.^2) where a =.1; b=.001;. Note that there is a discont...

ongeveer 11 jaar ago | 2 answers | 0

Question

How to change color of x and y axis by red and blue

I want to change the color of each axis by red & blue? x=0:.1:1 axis([0 1 0 1]); y=x.*(1-x); plot(x,y,'g'); ...

ongeveer 11 jaar ago | 1 answer | 0

Question

How to color RED to the lower portion of the curve

How to color RED to the lower portion of the curve y=x^2 x = 1 : 0.1 : 10; y = x.^2; plot(x,y) axis([1 10 0 100])

ongeveer 11 jaar ago | 1 answer | 0

Question

How to get the positive root of the cubic a*x^3+3*b*x^2+3*c*x+d=0

How to get the positive root of the cubic a*x^3+3*b*x^2+3*c*x+d=0 where a=1,c=b+2, d=-3 and b=.1:.1:2. If rr is the root, fi...

ongeveer 11 jaar ago | 3 answers | 0

Question

How to get tau for every c and plot a c vs tau graph

How to get tau for every c from the equation "tau=acos(((omega^2*(D1-A*B)-C*D1)/(B^2*omega^2+D1^2))/omega)" where A, B, C, D1, o...

ongeveer 11 jaar ago | 1 answer | 0

Question

How to find only positive root of a polynomial

How to find only positive root of a polynomial equation x^4+7*x^2-A=0 where A is varying from 1:.1:3. If rr is the positive real...

ongeveer 11 jaar ago | 1 answer | 0

Question

How to find a real positive root

How to find only the positive root of the equation x^3-A=0 for each A where A is a parameter varying like 1,2,3,....1000. I...

ongeveer 11 jaar ago | 1 answer | 0

Question

How to find a real positive root of a bi-quadratic equation

Suppose a bi-quadratic equation x^4+4*x^2-7=0. How to find a positive real root of it. solve(x^4+4*x^2-7=0, x, Real, Positi...

ongeveer 11 jaar ago | 1 answer | 0

Question

How to plot a complicated function

How to plot a complicated equation -(r * x / K) + (alpha ^ 2 * (1 - c) ^ 2 * x * y / (1 + alpha * h * (1 - c) * x) ^ 2 * h)...

ongeveer 11 jaar ago | 2 answers | 0

Question

How to draw x=2 line using plot command

I want to draw the vertical line x=2. I want to draw it by using plot command in x-y plane, x-is the horizontal axis. How to dra...

meer dan 11 jaar ago | 2 answers | 0

Question

Plot for two range of x

I have two ranges of x = [0:0.01:1] and x = [2:0.01:3] and I want to plot x vs. Y in one plot for the two rages of x values with...

meer dan 11 jaar ago | 2 answers | 0

Question

How to plot two complicated functions

I have two complicated functions y^7-y^3-sin(x)+a*sqrt(x)=0 and e^(-x)+b*cos(y)-c*x^2+y^2=0 where a, b,c are given by 4, 3, 2. I...

meer dan 11 jaar ago | 1 answer | 0

Question

Plot for different value of a

x = [-2:0.1:2]; z=x.*(a-x^2); plot(x,z) I want to plot(x, z) for four values of a = .5, 1, 1.3, 1.95. How to ...

meer dan 11 jaar ago | 1 answer | 0

Question

How to get z for different x

x = [-2:0.1:2]; z=x.*(1-x).*(2-x).*(4-x)/((6-x)-(1-x).*(x-7)); I am getting error. Please correct my problem.

meer dan 11 jaar ago | 3 answers | 0

Question

3D plot with colored planes

I use plot3(x,y,z, 'b') box on for plotting a 3D system. I want the faces of xy-plane, yz-plane and zx-plane to be c...

meer dan 11 jaar ago | 1 answer | 0

Question

How to connect the dots

I am plotting with plot(x,var(x),'o') var(x) is the variance. These points (x,var(x)) are the discrete points in a x-v...

bijna 12 jaar ago | 2 answers | 0

Question

Bifurcation Diagram

I want to draw the bifurcation diagram fro the model. dx/dt=rx(1-x/K)-mxy/(ax+by+c) dy/dt=emxy/(ax+by+c)-dy-hy^2. param...

meer dan 12 jaar ago | 1 answer | 0