Homework Statement
I need to plot the Rayleigh line for a flow that has the following conditions at one point
(Perfect gass assumption holds, R=287 J/kgK, gama=1.4)
p = 101.3 kPa
T = 300 K
s = 6.867*10^3 J/kgK
M = .25
My question is what equation am I actually supposed to plot for a Rayleigh...
I am trying to use the 'Regression Wizard' in SigmaPlot to obtain a best-fit curve to a data set of ~15 data points that map out a spiral. None of the equation categories given in the regression wizard seem to work (i.e. polynomial, exponential, logarithm, hyperbola etc. etc.) and I am unsure...
Homework Statement
Hi there
I have got my pratical tomorrow anyhow there is one thing of which i am bit iffy about. I am given a question where it asks me to plot graph with given data and error bars as well.Next question asks me to draw two lines (a line of steepest and least steep )...
Does anyone know how to plot noise in mathematica? I want to plot a normal distribution which is white noise in the time domain. This is because I want a constant power spectral density but Gaussian spread of values. Anyway I can plot a list of normal distributed numbers but want to know how to...
Hi there,
Making a nice visual for a quantum problem, which is finding the probability of finding the object outside of the classically allowed region for n=0,1,2. One problem: How do I make the y-axis stop after the origin so it doesn't mess up my arrows or my text (see attached)?
Any...
Homework Statement
Hello everyone, I was wondering if someone could help me plot data points I got in a lab experiment.
I've been trying to plot points of data with Gnuplot but the error bars don't show up no matter what I do, below is the data list I am using as input, the first column is...
Homework Statement
Write a program that plots and labels the points of the sine function.
Homework Equations
I can't figure out how to give the points horizontal position. I think it's position is determined by printing a series of 'space' characters followed by a '*' to mark the...
First off, I'm not sure if MATLAB questions go here or not, or if they are even dealt with on this forum. If not more or remove I guess.
I am no MATLAB wiz so this is mind-boggling to me. I am given a state of stress at a critical point of a component and told to plot a 3D parametric surface...
I am having some trouble deciphering how to plot a histogram in MATLAB. My main problem is that I want the x-axis labels to line up with the tick marks. I do NOT want the labels centered and under the bars themselves.
I have been looking into the histc() function...
The problem statement.
Suppose x''(t) = 1 for 1\leq(t)\leq2, and x''(t) = 0 for all other (t)
(a) Plot x''(t) for 0\leq(t)\leq3
(b) Plot x'(t) for 0\leq(t)\leq3. Assume x'(0) = 0
(c) Plot x(t) for 0\leq(t)\leq3. Assume x(0) = 0The attempt at a solution
I assumed 'x' being the vertical axis...
Homework Statement
The question is: Factor and Plot the polar equation
r^2-r+(1/4)sin^2 4 theta
Homework Equations
N/A
The Attempt at a Solution
I have no idea how to do this.
Homework Statement
I need to plot a graph in matlab,
i typed in the following,
V=[0:.2:20];
I=(V^3)-(1.4*V)+0.9;
plot(V,I)
It comes up with the error,
error using mpower, matrix must be square.
Any help into how to fix this problem would be great.
Thankyou
Homework...
f(x,y)=\frac{(x+y)}{(y/100+x/50)}
how can i plot this function with MATLAB in the region restricted between y=-2x and x=0 lines?
i wanted to plot that the second region of the cartesian coordinate
x=-1:0.1:0;
y=-2*x+eps , eps is very small
[X,Y]=meshgrid(x,y);
z=(X+Y)./(X/100+Y/50);
surf(z)...
So I have a lot of physics labs to write up, and when drawing graphs (using experimental data) I have a tough time
1)Determining the best scale so my graph is as big as possible.
2)Determining the best scale so intercepts(y) appear on my graph.
Also, I would like help on "breaking the...
can some please please tell me how to plot a 'graph'?
given a table of value allready.
like i have a complete table of values with the x's and the y's .all already
i just need to input the values in the calculator
to see how the graph of the table values likes like
when i select "table" in...
Homework Statement
How do I plot a function with an imaginary term (e.g. a*exp (ix), etc.)? More importantly, how would I do it on a calculator.
Homework Equations
The Attempt at a Solution
Homework Statement
I have a function y where y = 3x+2
I made x as a vector in matlab:
for i=1:10
x(i) = 4*i
but when i do a plot, i don't want to plot y against the vector x but against x as an argumetn of the function.
In general if i have any function...how do i plot it against its...
Hi, I need to plot a graph of F=kx for my lab report.
By measuring x, displacement of spring for every mass (20g, 40g,50g) we found k. Now i need to draw F-x graph.
I put my F and x data on graph w/o any problems. But when it comes to draw the line of F=kx i get stuck. Using the line's...
For R=2 ohms plot Va as a function of V1 and V2. For V1 and V2 are between 0 and 20 volts. Second part is to find the values of V1 and V2 that produce Va = 0 while minimizing the total power absorbed by the resistors (hint you may want a second plot of total power as a function of V1 and V2)...
Fist, this is for a personal project of mine, I've been out of school for some time, and all my old math skills seem to have abandoned me. For that reason, and because I have to translate anything I learn into functions compatible with c#'s math library, it'd probably be best to keep any answers...
Suppose that I have three 3d vectors, pq, pr, and v, where v is the cross product of pq and pr.
I want to fill the triangle formed by these three vectors, as shown in the picture. But I'm having difficulties finding the right command doing so, I've tried the polygonplot and apparently it...
1. I have 2 problems in which I'm asked to plot a function using maple(sorry i don't know latex yet):
a. f(x)=[x^3-1]/[sqrt(x)-1] - find the lim x->1
Here i receive an empty graph for some reason... :(
b. f(x)=[tan(3x)]/[tan(5x)] - find the lim x->0
When i attempt to plot this...
Hi there
I would like to plot a two/several functions using Maple on the same graph but with different intervals on the x exis. What I have at the moment is a Maple command for plotting two/several functions on the same graph with the same interval on the x exis.
Thanks
Amos
Hey.
Im trying to make a plot of a function, and was wondering if there was a way to plot it based on the equation that defines the function rather than a set of points on the curve?
i.e. instead of plot(x,y) for a set of (x,y) coordinates, id like to just specify the defininig equation...
I want to create a plot of a given function for all x values between negative infinite to negative R (for some given R value). How do I create an array for x so that my plot will include all the x values?
I'm trying to solve the following problem using a MATLAB script but I keep getting an error:
Show on the same axes the maximum height and horizontal distance traveled for an object thrown at a speed of 10ms-1 at an angle ranging from 0 to π/2. Equation for distance & height are:
D= v2/g...
Hi, I am trying to graph
(x+(1/√(1+cos(x)²)))
in mathematica, and i used
Plot[x + (1/(sqrt (1 + cos (x)^2))), {x, 0, 9}]
but I am not getting an output graph.
Any ideas?!
Plot[x + 1/Sqrt[1 + Cos x^2], {x, 0, 9}, PlotRange -> {-10, 10}]
I found few errors, and above is what I got, it's a...
First let me introduce myself. I'm and electronics engineer with 10 years of experience in the instrumentation of particle beams. I left the field for 10 years and have been fortunate to be granted a second lease of life on particle accelerators. Slowly over time the job has come to involve more...
So I was given the following problem to do in maple:
In one ty-graph plot the solutions of y' = cos(pi*ty) for a sequence of 21 equally distributed initial points y(0) between 0 and 4. Hint: You
may use commands such as seq, dsolve, numeric, odeplot and display.
I started off with...
So I was given the following problem to do in maple:
In one ty-graph plot the solutions of y' = cos(pi*ty) for a sequence of 21 equally distributed initial points y(0) between 0 and 4. Hint: You
may use commands such as seq, dsolve, numeric, odeplot and display.
I started off with...
Hi.
I'm just starting to learn how to use Mathematica, and I'd like to know if there's a way to plot a graph of an equation, such
as y=\frac{a}{x-h}+k without it showing the vertical asymptote
I would also like to know if there's a way to show the horizontal asymptote on the graph...
Hello,
I am trying to store the results in the form of an array every time the code goes through a loop. This is what my code looks like:
for j = 1:100
for i= 1:100
if S(i)==0
if rand < T
S(i)= 1;
t_inf(i) = j;
end...
Hello all,
I've programmed a GUI to read and plot data from oscilloscope. I have a timer function that updates the graph at 1 Hz frequency.
What I want to is to add two vertical lines to the same figure that mark the beginning and end times of CCE measurement. For that purpose, I'm using the...
Homework Statement
I'm supposed to sketch the vector field and verify that all the vectors of the following equation have the same length.Homework Equations
G(x,y) = \frac{-iy + jx}{\sqrt{x^2+y^2}}The Attempt at a Solution
If I start plugging in numbers, for example the point (1,1) into...
I am importing data as a .dat file into Mathematica and making a list plot. I need to know: a)How to sort the words out of my data? I used to use AllNumeric but that went away with version 6
b)How to switch the axis on my graph? My data is coming in as a pair sequence {1#`,2#`} but I need it...
Homework Statement
Hi, so the initial problem was:
given \left.\frac{d^{2}u}{dt^{2}} = \frac{d^{2}u}{dx^{2}}}
\left.-\infty \leq x \leq \infty
\left.u(x,0)=\frac{x}{1+x^{3}} , \frac{du}{dt}(x,0) = 0
Solve the PDE(did this part already) and plot the solution for -20 < x <20 and t =...
Hi,
I want to use mathemiatica to predict the spectrum of compounds with different conformers. The input consists of 4 values: frequency (of each vibration and every conformer), Intensity, Polarizability and total energy (of the conformer).
I now want to plot the frequency vs the Intensity.
1...
Homework Statement
Plot the phase plane of: y(t) = e-6t(2 1) + e-3t(1 -1)
Homework Equations
The Attempt at a Solution
I know it's a sink because \lambda_2 < \lambda_1 < 0.
http://img35.imageshack.us/img35/8108/sink.th.jpg
but the phase plane in the answer is slanted to...
I will be making a C++ program for graphical representation of data. The user will import data about for example 4 different objects (some proteins or cells) and the program will plot correlation functions, linear regressions, maps (according to some generalised distance) for these objects. The...
I am in real need for a graphical application with 3d plotting capabilities.
I need to plot some particles given their space coordinate. This has been well managed using VMD. But i am clueless how to plot associated velocity vector with particles. So basicall i am looking for to plot velocity...
Hey everyone, I have a quantum mechanics/matlab issue. I'm trying to plot the Transmission Coefficient T(E) of a double-potential barrier with barrier width 3nm and spacing 9nm, potential V = 0.5eV and sweeping energy from 0 to 1eV. Using the cascading matrix method where, given a matrix M of...
Hi,
I have generated 1000 data points.
I have assigned them a class (1 or 0) depending if they are above or below a decision boundary.
I want to plot the data on a graph with the class 1 data points in one colour and the class 0 data points in another.
any ideasa how I can do this...
Hi,
I have generated 1000 data points.
I have assigned them a class (1 or 0) depending if they are above or below a decision boundary.
I want to plot the data on a graph with the class 1 data points in one colour and the class 0 data points in another.
any ideasa how I can do this...
How would you plot the orbits of planets? I know how to calculate velocity and all the other aspects of an obit but I don’t know how to plot elliptical orbits. (This is not homework)
i am learning MATLAB, but have not yet learned anything do do with graphing, but need a program that can plot x.y.z graphs for my calculus work,
can someone please help me plot 3d graphs on MATLAB, for example
z=x2+2x+y2-y
how can i input x,y,z so that MATLAB will give me the surface...
I am new to Matlab and i need to plot a function. However, using y=x as an example it always comes up saying that x is not defined. How do i plot the function without specifying a specific value for x? Graphing y=x is not my real problem. I am used to using TI-83/4 graphics calculators and...