Plotting Definition and 518 Threads

  1. M

    Estimating & Plotting PDF & CDF of Random Variable X in MATLAB

    halw could anyone help me in writing this project in MATLAB ?? A random variable X is observed at certain experiment. 100,000 samples of this random variable are stored in a vector called samples. 1. Use MATLAB to read the samples of this random variable. To read these samples you...
  2. A

    MATLAB Help in MATLAB, plotting a signal

    I'm pretty new in MATLAB, and I can't seem to get it to display a signal. I have the following: t=1:1:100; s= 2*sin(2*pi*.05*t)*5*sin(2*pi*2*t)+.75*randn; plot(t,s) But i keeps giving me the following error: ? Error using ==> mtimes Inner matrix dimensions must agree. Error in...
  3. M

    Maple Plotting a Surface with Maple: Limiting x & y

    How do I use maple to plot a corresponding surface? I have f(x,y)=(2x+y etc. I need to plot for x greater than or equal to 5, y less than or equal to 2. I'm guessing I probably need to do plot3d, but how do I write the limits of x and y? when I write x=5..infinity it doesn't work. Any...
  4. S

    Need table plotting decelerating velocity & appx position in milliseconds

    An object weighing 34.518379357 kg, free-falling at 4.2(?) m/s, travels 0.889m, before it begins decelerating when it makes contact directly on the top of a person's head. Within what I would guess would be perhaps maybe 2(?) milliseconds after deceleration commences, the first intervertebral...
  5. T

    MATLAB Plotting vectors in Maple or MATLAB

    I need some help plotting vectors in either Maple or MATLAB. I have a parametric space curve and I am trying to plot the tangent, normal, and bi-normal unit vectors at several points along the curve. I have roughly 10 or 11 points at which I want to plot the tangent, normal, and binormal...
  6. D

    MATLAB Plotting a 3D Gaussian in MATLAB

    Homework Statement Hi all! I'm trying to solve the following problem but I'm not too sure of a few things. Write Matlab instructions to plot a three dimensional Gaussian: A = A0exp((x^2 + y^2 + z^2)/w^2) choosing appropriate values for A0,w and range of coordinates. Homework...
  7. S

    MATLAB Plotting Two First Order ODEs and Two Second Order ODEs

    Homework Statement I have two questions: 1) If i have two first order ODE y(1) and y(2) (in terms of time), i know how to plot y(1) versus time and y(2) versus time but i don't know how to plot y(2) versus y(1) 2)I have two second order ODES X''=... and Z''=... to solve this, we make the...
  8. S

    Plotting contour diagrams? how do i do that?

    im learning about contour diagrams in my calculus text but I am totally confused as to how one should start drawing those plots? for example f(x,y) = x+y then its supposed to go like x+y = c y = -x +c ^^i can see that the slope is 1 but how do i plot this graph?..im told that i...
  9. T

    Plotting space-time curvatures as curved 2D-surfaces

    What would be the easiest way to plot a space-time curvature from a metric as a curved 2D surface. For example the Alcubierre metric would be plotted with the result as in the attached image. The mathematical programs I have at my disposal right now are Maple, Matlab and Mathematica. I'm much...
  10. K

    Plotting Total Energy vs Time for Damped System (MATLAB)

    1. Homework Statement Plot total energy vs. time graph using MATLAB (damped system) wn(the undamped natural frequency) = 2 rad/s damping ratio, z = 0.01 mass = 10kg initial displacement = 0.1 initial velocity = 0 2. Homework Equations KE = (1/2)mv^2 PE = mgh 3. The Attempt...
  11. C

    MATLAB Plotting the Orbit of planets with MATLAB

    Homework Statement Hi everyone, i was presented with this problem in my Computer Programming for Engineers Class. The orbit of the planets around the sun can approximately be modeled by the polar equation: http://www.prml.org/images/71715equation.PNGThe values of the constants P and e for...
  12. S

    OrCad Spice - plotting tangent line of curve

    Hi, I'm having trouble plotting the tangent line on a curve (or the derivative evaluated at a point) in spice. I know how to plot the derivative of the entire curve using the d() function, but I don't know how to evaluate it at a point. Any help is much appreciated!
  13. A

    Mathematica Making a Polar Graph Plot in Mathematica: Replicating the CFA Redshift Survey

    (not for homework, just for fun) I'm doing research with my professor, and as an 'easy project' (har har) she gave me the task to replicate the CFA Redshift Survey in a polar graph plot. So with some clever googling I found the .dat file that has the most recent info in it, and I'm fairly...
  14. V

    Plotting Phasor representations of functions

    Homework Statement Plot the following for x = 0 to 8: This is part of a larger engineering problem, but I am stuck here, I have no idea how to plot a phasor. The original function is: y(x,\,t)\,=\,2\,cos\left(\frac{\pi}{6}\,t\,-\,\frac{\pi}{4}\,x\right) Homework Equations...
  15. L

    Solving Spring Tasks: Plotting Graphs and Calculating Spring Constants

    Homework Statement Preliminary questions: 1. John's weight is 618 N. He is sitting on a bosun's chair which is suspended from a spring. John's feet are pressing vertically down on a bathroom scale which reads 45 kg. What force is John exerting on the bathroom scale? Correct, computer...
  16. R

    Mathematica Plotting Vector Field in Mathematica

    Homework Statement y'=ay-by^2-q, where a, b are positive constants, and q is an arbitrary constant. In the following, y denotes a solution of this equation that satisfies the initial condition y(0) = y_0. a. Choose a and b positive and q < a^2/4b. By plotting direction fields and...
  17. DaveC426913

    How can I determine the contour lines for temperature readings on a map?

    I want to map the temperature gradient in my part of town. I live within spitting distance of the lake and want to demonstrate the lake effect. Ideally, I would make the geographical location of reading-taking as a constant (a grid of points across the area) and record the temperature value...
  18. E

    Mathematica [Mathematica] Plotting a straight line in a 3D plot

    Is there any way, in Mathematica, I can plot a straight line in a 3D plot environment? For example: Plot3D[{{y = 1 - x, z = y - 1}}, {x, -5, 5}, {y, -5, 5}] plots two surfaces, not their intersection (which is a straight line). Thank you in advance.
  19. J

    MATLAB How to Plot Particles and Calculate Spherical Harmonics in MATLAB?

    I have data for the positions of particles in 3D space and I'm trying to use MATLAB in order to visualize it. How do I plot little balls in 3D? The only function I can find at the minute is streamParticles but I'm looking for something simpler. EDIT: Nevermind, I figured it out. You simply do...
  20. C

    Any 3D graph plotting tools for Mac?

    Anything free that is? BTW, I have a biological aversion to Gnuplot.
  21. WolfOfTheSteps

    Logarithmic Plotting for Function of Temperature

    Homework Statement I have a function of temperature, and I am asked to do the following: "Plot it in logarithmic scale as a function of the logarithm of temperature" The Attempt at a Solution Does this mean I just make the horizontal axis, T, a logarithmic numberline? Or do I have to...
  22. B

    How Do I Plot a Bode Plot for a Given Transfer Function?

    hi, how can i plot the bode plot for this transfer function: [FONT="Courier New"] 100 ---------------- s^2 + 10s + 100 i have 2*ksi*w=10 w=sqrt(100)=10 thus, ksi=1/2 -ksi*w=-10/2=-5 so the overshoot will be at ksi which is at 1/2 and my magnitude is 1. i don't see...
  23. B

    Developing and plotting data in Excel.

    Hi , I want to create a simple series which give me the following: 0 1 2 3 4 5 . . . from the cells. Please can some help me with it? what I really doing is: I have a set of numbers which represent voltages (of a nodes) inside a dielectric. say: 0.854 0.756 0.659...
  24. H

    Mathematica Plotting streamlines using Mathematica

    Can one plot the streamlines of a fluid flow using mathematica? I never tried mathematica, actually none math software like that, so I'm sorry if this is a stupid question.
  25. tandoorichicken

    Bode Plots: Plotting Homework Statement

    Homework Statement I have to plot some data for a lab writeup. It's based on the frequency response of fluid catheter-transducer systems. Part of this writeup includes making Bode plots for the gain and phase shift. I know how to plot my data; the problem that I am having is that I want to try...
  26. N

    Mathematica Plotting Summation Convergence in Mathematica

    Hi everyone, I have an expression for a summation and want to find out where it converges precisely. I decided to work out the sum for i=10,100,1000 etc. I logged the results, then took the recriprocal and then plotted it as the x-axis in Excel with the y-axis as my result. (So that the y...
  27. G

    Mathematica Help with plotting in Mathematica

    Hello, I could use some help with plotting. I need to plot the intersection of three cylinders: x^2+y^2=1 z^2+x^2=1 y^2+z^2=1 it's really hard to visualize how this shape looks like, and I need to plot it. I was told that I should use Mathematica, but I'm not too familiar with all the...
  28. P

    Plotting a Function in Gnuplot with Range: 0<z<3, -5<x<5, -5<y<5

    I want to plot in gnuplot the function , with the range being: 0<z<3 -5<x<5 -5<y<5 What is the command? Thanks in advance, fellows.
  29. D

    Mathematica Plotting y=\frac{(a_0+a_1)\beta}{\beta^2-a_0a_1} in Mathematica

    I need mathematica to plot y=\frac{(a_0+a_1)\beta}{\beta^2-a_0a_1} by assuming that a_0<0,a_1<0,-a_0-a_1<a_0a_1\pi. by telling it to ignore the singularities, etc, but it keeps telling me that beta is not a machine sized real number at blah. Also, how do I specify a range (ie, y from -10 to...
  30. B

    Plotting Level Set f(x,t)=2: Struggling to Find Equation

    I'm having a really hard time with this question... Consider the function g: [0,infinity) --> R shown in figure 7 (Figure 7 is just a graph of a curve defined as z=g(s), where the horizontal axis is the s-axis) Let f be a new function given by: z = f(x,t) = g((x^2)+(t^2)-1). Plot the level...
  31. S

    Quantum Particle Confined to a Box: Computing & Plotting S(e)

    The energy levels of a quantum particle confined to a cubical box are: E = \frac{\hbar^2 \pi^2}{2mL^2} (n_{x}^2 + n_{y}^2 + n_{z}^2) where nx, ny, nz are postiive integers Define the dimensionless energy \epsilon = E \frac{2mL^2}{\hbar^2 \pi^2} and define S(e) to be the number of states...
  32. R

    Efficient Graph Plotting and Modification: Options and Tips

    Hi, I have to draw this kind of graphs on the computer: http://img285.imageshack.us/img285/1690/image1nc4.jpg http://img427.imageshack.us/img427/6483/image2it9.jpg .[/URL] I tryed to plot the graph of the function in mathematica, export it into .wmf file and then add some of the lines and...
  33. J

    Java Plotting Functions in Java: A Pain in the Neck

    In programming in Java I've frequently wanted to plot functions, meaning I've had to convert a double array of function values (and a corresponding array of their domain values) to integer arrays of coordinates to plot. I've always found this to be a pain in the neck, especially if you're trying...
  34. T

    Plotting a Vertical Velocity Graph for a Given Situation

    Well, this is really confusing me. I am suppose to be graphing a given situation into a v(t) vertical velocity graph. The following occurs in 6 seconds (6 points on the graph): Starting at y = 0 m, a stone is thrown straight up on the edge of a cliff until it reaches its maximum height at 2...
  35. A

    MATLAB How Can I Plot Multiple Curves in MATLAB with Variable Parameters?

    please help hi there, i've just started using MATLAB and need to do some task, but i don't know how, so maybe someone can help? basicly, i need to plot all the curves of the function v(t)=Vp*e^((a+c*t)/(1+b*t)), whille changing all the values of Vp,a,b,and c between 0 and 1, with step...
  36. G

    What is the Formula for the Harmonic Curve?

    I am trying to recall the formula that I call the harmonic curve, that gives the curve that begins at 1 on an x and y-axis where x & y equal 1 and then for every posting therafter:rolleyes: , the curve approaches each axis but never reaches the axis. Anyone know the forumula that will produce...
  37. F

    Bode Plots - phase plotting by hand

    My notes from lecture are somewhat deceiving. I have this table that is supposed to make plotting the phase portion of a Bode plot simple. I understand the magnitude portion, however I do not get what is being said for the phase portion. I am spending too much time on something that is supposed...
  38. R

    Plotting Graphs: Tips & Shortcuts

    [FONT="Comic Sans MS"][SIZE="4"]:shy: Plz. help me in plotting graphs like xsin(x),xsin(1/x) etc.Also give me tips and shortcuts to plots graphs like tan x -x or tell me any good piece of software to solve this problem
  39. P

    MATLAB How to Correctly Implement Nested Loops for Surface Plotting in MATLAB?

    Hey guys, Is there anyone good with MATLAB for loops? I am having trouble with getting an embedded loop within another loop to work. I am trying to vary two parameters and create a surface plot with a third variable as the dependant. What I really need help with is how to get the LHS...
  40. P

    Can I change the x-axis spacing in Excel if it's shaded in gray?

    My excel does not allow me to change the spacings of the x-axis as it is shaded in gray. What should I do so I can change it?
  41. A

    Plotting Resolution Against Lux in Excel

    every subect seem to be different! which kind of graph and a lot what axis do i plot, if i was to do plot resolution against lux! plus anyone kno the proper way to do this in excell. thanks
  42. S

    Plotting T vs M for Hookes Law: Find k

    In the equation for Hookes law what values do I consider if I was to plot for the value of k?. Would plotting T vs M give me this and would the gradient be equal to k?
  43. M

    Diff EQ, i'm confused on plotting this solution (series)

    Hello everyone. This problem has 4 parts. I got part (a) which is suppose to be the hardest part but I'm confused on how to (b) Plot Qn(t) for n = 1...4 observe wether the iterates seem to be converging. Well this is the series solution I got for the differential equation...
  44. M

    MATLAB Plotting a Curve in Polar Coordinates Using MATLAB

    Ok, so I've been given a curve in polar coordinates. I came up with a parameterisation: x(t)=rcos(theta) y(t)=rsin(theta) But now I have to plot the graph using MATLAB and I have no idea. Theta lies between 0 and 2pi. This is what I put in and got back in matlab: >> t=[0:pi/50:2pi]...
  45. Pengwuino

    Mathematica Plotting a plane in Mathematica

    Hello ladies and gentlemen, Does anyone know how to plot the plane y=2 in 3d? I'm looken for a curve of intersection with a surface and I don't seem to know how to plot the y=2 plane :)
  46. Norman

    Plotting Software for Linux (FC3) - Publish Quality Graphs

    I searched and I didn't find anything for this so here goes: I am looking for a graphing/plotting package that will allow me to graph data and plot equations on the same graph- publishing quality. Does anyone know of any open source software for Linux (FC3 to be exact) that does this? I...
  47. V

    Can Pi be Constructed on a Number Line Using Non-Traditional Tools?

    how to plot the irrational number pi on a number line. i know the procedure for square roots of different non-perfecr square number. it is by drawing a perpendicular at a suitable integral length again at suitable integral length such that the hypotenuse is of required length as per the...
  48. M

    MATLAB Plotting Transfer Functions Using Matlab

    I am using a bode plot program using Matlab to try and plot transfer functions. Here is the program I have: http://www.swarthmore.edu/NatSci/echeeve1/Ref/Bode/BodePlotGui.html Everytime I try and type in the command that it says to use, it gives me a tf is an unknown variable. Does...
  49. M

    MATLAB Plotting 3D Surface Graph: Issues & Solutions

    Im trying to plot a 3d surface graph, but I am having trouble. I have 3 data inputs, x,y,z. I also had X and Y=Y' which are the min:int:max values. Because I only have a few points, I tried to do Z= griddata(x,y,z,X,Y) to interpolate the results. But it comes up with an error saying that not...
  50. F

    MATLAB Plotting System of Equations in MATLAB

    Maybe not the proper place to post... but it seems like physics forums is going through some type of "crazy" change right now. Anyways... I'm having trouble finding a website with directions on how to plot a system of equations in MATLAB. If anyone has a basic M-file they could show me, or a...
Back
Top