Recent content by maxtor101
-
M
MATLAB Plotting a potential function in MATLAB
Apologies, I got it working[phi1, phi2] = meshgrid(-20:0.5:20); lam = 1; m = 1; V = (m^2)*(phi1.^2 + phi2^2) + lam*(phi1.^2 + phi2.^2).^2 ;surf(phi1, phi2, V) thanks for your help!- maxtor101
- Post #4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Plotting a potential function in MATLAB
Thank you for your reply! phi1 = [-20:0.5:20]; phi2 = [-20:0.5:20]; lam = 1; m = 1; V = (m^2)*(phi1.^2 + phi2^2) + lam*(phi1.^2 + phi2.^2).^2 ; surf(phi1, phi2, V) I tried this but I get the following error: Error using ^ Inputs must be a scalar and a square matrix...- maxtor101
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Plotting a potential function in MATLAB
Hi all, I would like to be able to plot this function in MATLAB \mathcal{V} (\phi_{1}, \phi_{2}) = m^2(\phi_{1}^2 + \phi_{2}^2) + \lambda( \phi_{1}^2 + \phi_{2}^2)^2Where \phi_{1,2} , m^2 , \lambda \in \mathbb{R} and \lambda > 0 I am aware that the cases m^2 > 0 and m^2 < 0 yield two...- maxtor101
- Thread
- Function Matlab Plotting Potential
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Undergrad Calculating Force to Push Cylinder Over Another
Hi all, Say I have two hollow cylinders as show in the diagram. If I know the coefficient of friction between the two materials, the radii of the two cyclinders, how would I go about calculating the force to push the top cylinder over the other a distance x in t seconds? Also assume that... -
M
Undergrad Calculating Water Flow Time in a Tube | Gravity-Powered Flow Question
Hi all! If I had a tube with diameter x cm, filled with water, how would I calculate the time it takes for a volume V of the water to pass a point in the tube, flowing completely due to gravity. Thanks -
M
Undergrad Estimating torque conveyor belt
Apologies, I forgot to include in the diagram that there is a steel table under the belt, on which the items sit. So there would be friction between the belt and this table, and it's resulting force will be proportional to the weight of the objects. How would I equate all this to the torque... -
M
Undergrad Estimating torque conveyor belt
Hi all, was wondering could anyone give me a hand with this calculation. So basically I want to estimate the torque required to turn a conveyor belt. I have drawn a diagram of what it looks like. I know the weight of the objects on the belt and their respective friction coefficients. Also the... -
M
Undergrad How Do You Normalize a Function to Have a Maximum of 1 and Minimum of 0?
Well yes, the maximum value would be \beta and the minimum value would be - \beta ..- maxtor101
- Post #3
- Forum: General Math
-
M
Undergrad How Do You Normalize a Function to Have a Maximum of 1 and Minimum of 0?
Hi all, Say if I had a function for example p(x) = \beta \cos(\pi x) And I wanted to alter it such that the max value of p(x) is 1 and its minimum value is 0. How would I go about doing this? Thanks for your help in advance! Max- maxtor101
- Thread
- Function
- Replies: 3
- Forum: General Math
-
M
Graduate Solving Heat Equation w/ Neumann BCs Different Domain
Ah ok I see! Thanks for your help. So I can choose for example in case 1: A=0 , B=B . case2: B=0 , A=A- maxtor101
- Post #4
- Forum: Differential Equations
-
M
Graduate Help with integral of a gaussian function
Hi all! I'm curious as to how one would go about actually computing this integral \int_0^\pi \exp(\frac{-x^2}{2c^2})\sin(\frac{m\pi x}{2}) dx I start off by using integration by parts but I am unsure how to solve this integral v = \int_0^\pi \exp(\frac{-x^2}{2c^2}) dx Any help... -
M
Graduate Solving Heat Equation w/ Neumann BCs Different Domain
Hi guys! I'm to find the solution to \frac{\partial u}{\partial t} = \frac{\partial^2 u}{\partial x^2} Subject to an initial condition u(x,0) = u_0(x) = a \exp(- \frac{x^2}{2c^2}) And Neumann boundary conditions \frac{\partial u}{\partial x} (-1,t) = \frac{\partial...- maxtor101
- Thread
- Boundary Boundary conditions Conditions Domain Heat Heat equation Neumann
- Replies: 3
- Forum: Differential Equations
-
M
MATLAB MATLAB 3D Plot assistance needed
But this throws up an error ? Error using ==> mesh at 80 Z must be a matrix, not a scalar or vector. Error in ==> plots at 14 mesh(X,Y,Z,'EdgeColor','black') Any ideas?- maxtor101
- Post #5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB MATLAB 3D Plot assistance needed
Thanks for your reply, however I'm still unsure as to handle the 6 different text files. load plot1.txt load plot2.txt load plot3.txt load plot4.txt load plot5.txt load plot6.txt for i=1:6, [X] = meshgrid(0:10:60); [Y] = meshgrid(0:5:100); [Z] = plot(i)...- maxtor101
- Post #4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB MATLAB 3D Plot assistance needed
http://tinypic.com/r/2lxi9us/5 - This is how I want the plot to look- maxtor101
- Post #2
- Forum: MATLAB, Maple, Mathematica, LaTeX