Question

How to insert arrows at the middle of each of the parallel lines

In the follwoing I want to insert arrows at the middle of each of the parallel lines p = 0.01:.05:1; figure(1) plot([0; 1...

4 years ago | 2 answers | 0

Question

How to plot this implicit function

I need a beta vs eps plot of the curve t^2-d. The expression of t and d depends on x, y where x, y depend on beta. Please help. ...

5 years ago | 1 answer | 0

Question

How to plot $40b^2x-9b^2-60bx+72b-144=0$

How to get a (b,x)-plot of the curve where b varies from 0 to 10 and x varies from 0 to 1 I have tried the following ezpl...

5 years ago | 1 answer | 0

Question

Plotting only the maximum and minimum amplitude of the coexistence periodic orbit vs d

I am using matcont. I want to get the one parameter bifurcation diagram d vs x x'=s*x*(1-x)*(x-b)-(1+a*y)*x*y/(1+h*(1+a*y)*x) ...

5 years ago | 0 answers | 0

Question

How to get different colours for different regions for this problem

How to get different colours for different regions for this problem? Here are 10 regions and I want to colour the regions? How t...

5 years ago | 1 answer | 0

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

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

11 years 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

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

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

11 years 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'); ...

11 years 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])

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

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

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

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

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

11 years 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)...

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

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

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

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

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

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

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

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

13 years ago | 1 answer | 0