I am going to plot two series in Matlab. They are as following. please help me to write the appropriate code for them:
1-f(t)=(2/pi)+(4/pi)*Ʃ(1/(1-4*n^2))*cos(2*n*pi*t) -1≤t≤1 n=1 forN=200
2-f(t)=(4/0.25^2)*Ʃ(sin(0.25*n*pi)/(n*pi)^2)*sin(n*pi*t) -2≤t≤2 n=1,3,5 forN=200
I'm doing a small project for a modelling course that is showing the physics of a golf ball going through the air, drag force included. Let's say I have an interactive slider that allows me to manipulate the initial angle and velocity (a pretty common interaction) of the ball before I hit a...
Is there any good software which plots 3d graphs and vectors. I just want to plot linear 3d graphs and vectors in 3d. I don't mind paying for this but it should be reliable and easy to use.
hey guys i have a problem regarding plotting several graphs in one plot via mathematica. I want this plot's x-axis to be in a log scale so i used loglinear command.
here the plot is b[a] vs. a.
w[a] is part of my differential equation and it depends upon a and c.
i have written the program...
I have a set of measured data. I need to plot this in MATLAB and show two graphs in one plot.
Data for first graph is : [0.35,0],[0.4,130],[0.45,400],[0.5,0.11],[0.55,34] and so on.
Second graph is a function.
So, how to plot sequence of data in matlab? Which command should I use?
Hi,
I like to think that I can generally get MATLAB to do what I want and when I want but this has got me stumped. I want to plot a free surface defined by a double integral:
\eta =\frac{1}{4\pi^{2}}\int_{\mathbb{R}^{2}}\frac{\mu e^{-\mu^{2}/4}e^{i(kx+ly)}\tanh\mu}{U^{2}k^{2}-\mu...
Homework Statement
Find the 6th complex roots of √3 + i.
Homework Equations
z^6=2(cos(π/6)+isin(π/6))
r^6=2, r=2^1/6
6θ=π/6+2kπ, θ=π/36+kπ/3
The Attempt at a Solution
When k=0, z = 2^1/6(cos(π/36)+isin(π/36)),
When k=1, z = 2^1/6(cos(13π/36)+isin(13π/36)),
When k=2, z =...
Homework Statement
http://gyazo.com/8187e80897fe361d555dbb9e5399366d
Okay, quite stuck here. Spent a few hours with the notes and tried some websites, but I'm still not confident in plotting Nyquist Diagrams
Homework Equations
N = Z-PThe Attempt at a Solution
Well, at w=0, gain is -2 and at w=...
Homework Statement
I have multiple 1D data sets, let's call them data1, data2, data3, etc. Each data set has the same number of entries. Each one is either a row or a column (I can just use Transpose[...], so same] and when I use the ListPlot[] function, I get a graph where the vertical axis...
Hello everyone,
I've been in university for about 3 years now and the tool I want more than anything is something that can make plots symbolically. What I mean is if for example i have the following function:
f[x]=ln[\frac{x}{β}]
I want a plot that will know to plot a function that is...
does anyone know an easy to use 3d plotting software with vectors? i have been using maple for some things but 3d plotting vectors and transformations is really slow in maple. i really like geogebra but it can only do 2d vectors. any suggestions?
Hi,
I have been trying to integrate an equation and then plot the result using MATLAB but haven't figured out how to do it. Say, I have an equation of the form dy = (1/x)dx. I want to integrate the above equation and then plot y as a function of x. So, to integrate I do this:
syms y x...
I want to plot a 3D graph.
A solid graph and a wireframe mesh graph.
What are the different ways to do it in this script.
The variables i want to be plotted in this script are 'pic' 'TSFC' 'NonFs'.
Dont mind the working, everything is correct. The only matter of concern is the 3d graph and...
Hi there, I'm having a hard time trying to plot a Bode Diagram here in MatLab.
The transfer function not only has an exponential function in it, but also has 3 unknowns to which I am not supposed to assign value, and on top of that it is a complex number.
Let me write it down to you...
hi,
i need to know how to plot the change of variables
am i just to take x, and y as different constants, and treat it as normally on the (u,v) axis? so for the first, it will be like plotting on the (x,y) axis something like y^2 = x^2 - c, for different c, how many lines would i need to plot...
I want to plot a cylinder pressure vs crankangle diagram for a 4 cylinder naturally aspirated diesle engine ,do I require AVL boost for this ?and how can you plot it manually?
Homework Statement
We need to plot a two points (representation of planets). One is stationary and one is supposed to move on a circular orbit. We are using Python, Matplotlib and Numpy. We're not getting a circular orbit. We're just getting a line.
Homework Equations
a = F / mass1...
I was talking to my professor and I am tying to generate a phase curve that looks like (see attached).However, I am only been able to generate phase portraits.I need to generate a plot that does that.From these equations,$$\dot{x} = -x + ay +x^2y$$$$\dot{y} = b -ay-x^2y$$Here is what I have been...
Homework Statement
The goal of this exercise is to plot parametric equations so that the image looks like the Agnolotti Pasta shell given in the link below.
http://www.nytimes.com/interactive/2012/01/10/science/20120110_pasta.html?ref=science.
Homework Equations
The relevant...
Hi...
I have to measure the end point energy of a beta minus particle being emitted from a Sr-90 radioactive source. Part of this is plotting a Kurie plot. I am using a pulse height analyser (PHA) to get the beta spectrum (which counts how many beta particles are detected N,on the y-axis and...
Homework Statement
Note: This is not for homework. I'm trying to teach myself programming and this looks like a fun project. I want to plot the Mandelbrot set using a computer.
Homework Equations
Z_{n+1}=Z_n^2+c for some constant c
The Attempt at a Solution
Given: Z_0=0, maximum of...
Homework Statement
Does anybody out there have a good knowledge of maple? i am trying to plot out some equations and having a bit of a snag and not sure how to define my variables to make this work. The integral has a constant that ranges from zero to under 1 and this seems to be giving me a...
This is a question that has been burning for some time, I have been wondering, instead of plotting the different points of a function onto a steady x and y axis, is it possible to have a single point (at the origin) and have the planes move instead. The space moving around the point.
When I...
Homework Statement
The following results were obtained when a spring was stretched:
Load/N: 1.0 3.0 4.5 6.0 7.5
Length of spring/cm:12.0 15.5 19.0 22.0 25.0
A) use the results to plot a graph of length of spring against load.
b) use the graph to find the:
i)...
Hi
I am trying to do some problem from the book "Student's Introduction to Mathematica" 2ed.
I have shown the snapshot of the problem in 1.png. My attempt is a snapshot in 2.png.
Please suggest some ways to do this correctly.
thanks
I cannot seem to make mathematica plot the following equation correctly:
r[t_] = 3 Cos[t] + iSin[t];
plotbeta = PolarPlot[r[t], {t, -Pi/2, Pi/2}]
I have used the capital I to no avail; I have used * to indicate multiplication. It plots the curve without a problem when I leave out the i...
I'm trying to plot something like x+y=2 in 3D. The image should look like this:
Been trying to do it in Mathematica using Plot3D, but the it treats the input as a function of z.
Another example: Plot3D[x=4,{x,0,10},{y,0,10},AxesLabel{x,y,z}] plots z=4, not x=4.
A similar thread, with no...
Homework Statement
The table gives a firm’s monthly profits for their first few months of business. The numbers are rounded to the nearest £100.
Number of months after start up (x) 1 2 3 4 5 6
Profit for this month (£y) 500 800 1200 1900 3000 4800
The firm’s profits, £y, for the...
hi
i compile a c++ program and after compiling it gives me a txt file which contains about 50000 points.
how i can plot these points in mathematica?
thanks
If I wanted to make a graph of height versus time for an object under the effects of air resistance av+bv^2 and thrown with a given initial speed, how would I go about doing that? I was also hoping to get a y versus x graph for a projectile under the same drag, but I presume I could find x...
Hello everyone, thanks for reading my post.
Issue 1:
Example:
Suppose I want to draw a graph for sec θ=x + 1/4x
I want 'θ' on the y-axis and different values of 'x' on x-axis. Can I plot the graph using Matlab?
Issue 2: I want to know if it's possible to plot graph of complex mathematical...
I was given this equation as the lines of electric fields of a dipole(two opposite charges separated by a finite distance)
e=(1/r^3)*((3cos^2(theta)-1)^2 +sin^2(2theta))^0.5
and I was asked to plot it.
I guess it must be something like this:
but when I try to plot it in wolframalpha.com in...
Homework Statement
I have an issue with Straight Line graphs, I have never done them before (I touched on them in Seconday School, y=mx+c that sort of stuff) Now I've been faced with a problem that I need to learn. It's not homework it's revision but I thought it was more relevant to post here...
Dear Friends
I am plotting some solution of differential equation in MATLAB and successfully completed but while attempting to save that plot as bitmap format the background of the plot become black with the axis and scale are hidden inside that background. I herewith attached the bitmap format...
I have some long functions with about half a dozen varibles.
Some thing like:
f(t) = sqrt((Gr^2*Gw^2+Gr^2)*cos(Gw*t)^2 -2*Gr*Xr*Xw*cos(Gw*t) +Xr^2*Xw^2)
I want to define the variables, then plot out the curves, integrate an interval, then change some variables and re-plot the curve, and...
QUESTION:
Plot the function f(x) = cosx sin(2x) and its derivative, both on the same
plot, for π ≤ x ≤ π . Plot the function with a solid line, and the derivative with
a dashed line. Add a legend and label the axes.
Okay, so this is what I have so far in a script file...
x =...
Which mainstream mathematical/scientific software do you think produces the best plots/graphs (aesthetically)?
A few choices are: Mathematica, Matlab, Python (Matplotlib), Gnuplot etc. etc.
hi,
My instructor has given us an assignment where we have to diagnose the type of enzyme inhibition it is. I diagnosed it as a competitive inhibitor and am trying to do a slope replot to find my value for KI.
For the slope replot, you just find the slope of the each line? is it the same...
Hi,
I've written a script that creates a few rectangles and gives the surface plot in the PDE toolbox.
What I would like to do is to also plot the values for a linear element in the surface plot i.e. for a given value of x or y.
Any help or ideas would be greatly appreciated!
Jay
Homework Statement
A horizontal force of 80N acts on a mass of 6kg resting on a horizontal face. The mass is initially at rest and covers a distance of 5m in 0.92s under the action of the force. Assuming there are no energy losses due to air resistance and therefore that the...
Hey all, I want to ask a simple question that I can't seem to get answered myself. How is it possible to get Mathematica to plot 2 functions at once? As in, I want to have x^2 {x,0,1} and x^3 {x,1,2} in the same plot graph.
More specifically, what I'm trying to do is plot the y-t graph of a...
Im analyzing some data from a previous student I am trying to plot a line of best fit over the histogram and hense find the value of the coefficiants
the files had to be loaded as -ascii so this is the code i have typed so far
x=load('filename.mat','-ascii'); mean(x); hist(x,300)
this then...
I'm having difficulty plotting a vector field of a first-order system. I understand that I am supposed to select various points, "plug" them into the equations, and then plot the vector from the resulting point. But how do I know in which way the vector is pointing? Once I get the point from...
I need help from someone with a graphing calculator. My little brother lost my graphing calculator and synthetic division I can't make work becasue the terms aren't exactly friendly. The equation is,
24.059025x^4 + 94.98287069x^3 + 44.56696001x^2 - 827.1103204x = -1067.832496
The more...
Dear Fellows,
I need to plot a graph in matlab, and stuck in obtaining multi plot from it for different constant values... following example will explain my situation.
x=1;
y=3;
c=x^2+4y+9z
z=linspace(0,1.2);
plot(z,c,'r')
in this I want to plot for y=3,y=4,y=5 and y=0 all curves in...
So all I'm trying to do is plot y = (2sin(3w))/w, w is the angular frequency. I basically want this graph in radians. So this is what I did at first:
>> x = [0:.01:20] ; //want bounds from 0 to 20
y = 2.*((sin(3.*x))/x);
plot(y)
But when I do this I get a graph of nothing, I assumed...
Dear Fellows,
I am plotting in matlab, and defined and axis along horizontal in such a way
x=0:0.2:1.2;
for
plot (x, u,'re--' )
but I need to define the limitation of u along vertical axis,,,,
can anyone suggest me the exact for range -5 to +1
Regards