Mathematica Definition and 1000 Threads

  1. W

    Mathematica Strange postfix quotes in mathematica output

    Hello. I am using the Smooth.m mathematica package on a large set of paired data points. Occasionally, instead of getting a number in my output array, I end up with something like this: 1. (0.861515 + (58 "")/2379) In the output window, the quotes are not visible, but when I copypasta it...
  2. Z

    Mathematica Mathematica: ContourPlot3D without Frame.

    I don't find any option to remove the frame from a ContourPlot3D graphic in Mathematica. Can anybody help? Thank you.
  3. T

    Plotting Inequalities with Mathematica

    I have an equation and some inequality constraints, for example, f(x,y)=0 and g(x,y)>0 I want to see the region (values of x and y) in a graph where both the constraints are satisfied in Mathematica. Any help will be greatly appreciated. Thanks!
  4. B

    Mathematica Mathematica: Graph for a single vector instead of vector field?

    Hi guys, I would like to construct 2 vectors on a coordinate grid.(or a vector field for only one t) of the forces between 2 point particles on a certain moment t. Can I do that? When I try the VectorPlot function and insert all values instead of also inserting a variable it gives the error that...
  5. R

    Mathematica Hey guys,So I have been playing with LogLogPlot in Mathematica and

    Hey guys, So I have been playing with LogLogPlot in Mathematica and it seems to me that PlotRange->{a,b} does not work. I also tried Show[%,PlotRange->{a,b}] but somehow my axes got cut off. Anyone knows how to do it if I want to display a certain area of a log-log plot?
  6. K

    Mathematica Mathematica: Summation in the Do-Loop

    Dear all, Iam trying to get the right codes so that the summation could be done in the Do-Loop function using Mathematica. The problem is that I could not get the summation for sumU1 and sumV1 to start from 1 using my codes as attached (Summation2.nb). Please help me to improve the...
  7. A

    MATLAB Matlab and Mathematica can't do this integration

    Hello, While doing a research, I obtained the following PDF: [SIZE="3"] f_{Z}(z)=\frac{1}{2\pi\sigma^{2}_{1}\sigma^{2}_{2}}e^{-\frac{1}{2} ( \frac{\mu^{2}_{1}}{\sigma^{2}_{1}} + \frac{\mu^{2}_{2}}{\sigma^{2}_{2}})}\int^{2\pi}_{0}ze^{-\frac{1}{2\sigma^{2}_{1}\sigma^{2}_{2}}\{...
  8. N

    Mathematica Plotting Log as part of an equation in mathematica

    Hello I'm trying to plot log as part of an equation in mathematica and it does not seem to be working for me. for example I'm using Plot y = 25x / log10 (x) - 50x I'm just experimenting with different numbers and formulas to see what happens to the log curve...
  9. M

    Mathematica Mathematica: Export sequence of MatrixPlots

    I've constructed a visualisation of the solution of an equation over time as a sequence of MatrixPlots and I'd like to export this as a movie for use in a presentation, but whatever file extension I try, I either get an error message (e.g. "The Export element \!\(\"GraphicsList\"\) contains...
  10. A

    Mathematica Mathematica help - simplification

    Hello, I'm trying to find out how I can let Mathematica know what is a variable and what is a parameter when asking it to simplify an expression. For example: if I have the following expression \[Beta] \[CapitalOmega] ((1 - \[Gamma] y) \[Xi] \[Sigma] + (x - \[Xi]) \[CapitalOmega]) + a...
  11. W

    Mathematica Adding many functions in mathematica

    Hello. Can someone tell me what I can do to the following code fragment: sigma = {2,4,6,8} mu = {1,3,5,7} gauss[x_, mu_, sigma_] = (1/(2*\[Pi] * sigma^2))* E^-((x - mu)^2/(2*sigma^2)) lorentz[x_, m_, gamma_] = 1/(\[Pi]*gamma*(1 + ((x - m)/gamma)^2)) spec1 = Apply[Plus, gauss[x, mu...
  12. K

    Mathematica Mathematica: how to avoid replacement from taking the previous outputs

    Hi all, Please help me with regard to my problems about replacement syntax. Iam looking for a method such that Mathematica won't use the previous output as an input for the subsequent cells or codes. Instead, I wish Mathematica express the replacement in terms of expressions for the...
  13. S

    Mathematica Calculate r^2*q Faster in Just 1 Click: Tips and Techniques

    hye everyone...i would like to ask question. i just wonder how to calculate question faster without solving one by one.for my equation given.i want to know if r increase by=1,2,3,4,5 and value of s are not change,how can i do without fill r by 1,2,3,4,5 one bye one.(q is fixed value).example...
  14. K

    Mathematica How to make a simplified general code for repetitive formulations in Mathematica

    Hi there, I have altogether 17 formulations or expressions which are repetitive and have link from each other. My question is that how to make these formulation or expressions in a simpler form. In another word, how to make the codes or syntax become shorter due to these repetitive...
  15. G

    Mathematica Curve fitting in Mathematica with FindMinimum function

    Hello, I attempt to fit experimental data using FindMinimum function with Levenberg-Marquardt (LM) method. I know that the problem can be solved with FindFit function (or other methods of finding minimum), but I really have to use FindMinimum function and LM method. Therefore, I would...
  16. D

    Mathematica Is Mathematica Worth the Cost? Pros and Cons

    I realized that Mathematica is extremely expensive, and I want to ask users whether it is worth the money (considering that there are other CAS such as Maxima)?
  17. K

    Mathematica How to make the positions of eigenvalues consistently in Mathematica

    Hi there, Iam just wondering that at different values of m and n, the position of eigenvalues are always varies accordingly. I mean, the outputs positions of eigenvalues are not consistent given by mathematica. Please see attached file for reference. My question is that how to fix this...
  18. J

    Mathematica Small quantities in mathematica

    "Small" quantities in mathematica Hi, I'm doing a calculation in which I have a small parameter \epsilon floating around, and I want to automatically remove terms of order \epsilon^2 and higher. Is this possible to do?
  19. N

    Mathematica Error explanation in the function NDSolve in mathematica 8

    Hello , I have tried to solve a system of differentiel equations with mathematica that is presented as follow X[t_] = {x1[t], x2[t], x3[t], x4[t], x5[t], x6[t] , x7[t], x8[t], x9[t], x10[t], x11[t], x12[t]}; system = MapThread[#1 == #2 &, {X'[t], A.X[t]}]; where the matrix A is...
  20. P

    Mathematica Mathematica: take derivative in terms of original function

    Hello, Let's say we have f[x_,y_]:= whatever then we say expr1 = D[f[x,y],x] which is some complicated expression. How can we get the answer in terms of f[x,y]? That is, how can we get expr1 to look like: expr1 = f[x,y]*this term + pi*Sqrt[f[x,y]] + et cetera? Thanks Gurus
  21. M

    Mathematica How to Create Custom Tables/Matrices in Mathematica?

    Hi, I'm trying to make a table/matrix in mathematica to describe a system of differential equations that I have. At the moment, what I want is a table with the first column reading (A*v*(1-v)*(1-a)-w-w0)/e and the second column reading v-g*w-v0 and I want to be able to arbitrarily...
  22. N

    Mathematica Solving a differential system with mathematica 8

    I need to solve a differential system with mathematica that is presented like this : eqns = { X1'[t] == A[[1]][[1]] X1[t] + A[[1]][[2]] X2[t] + A[[1]][[3]] X3[t] + A[[1]][[4]] X4[t] + A[[1]][[5]] X5[t] + A[[1]][[6]] X6[t], X2'[t] == A[[2]][[1]] X1[t] + A[[2]][[2]]...
  23. Orion1

    Mathematica How Can You Extract Numerical Values from Output Box Data in Mathematica?

    \text{In}[1]:=\text{Solve}\left[\partial _{\theta } \text{Sin}[\theta ]==0,\theta \right] \text{Out}[1]:=\left\{\left\{\theta \to -\frac{\pi }{2}\right\},\left\{\theta \to \frac{\pi }{2}\right\}\right\} Is there a Mathematica source code command that can read a specific numerical value...
  24. K

    Mathematica Solving simultaneous equations with big matrices using Mathematica 7

    Hi all, Please help me to solve my problem in Mathematica that involves simultaneous equations with large matrices. The code is provided in the attached file, Exercise1.nb the errors say like this " General::unfl: Underflow occurred in computation. >> General::unfl: Underflow occurred...
  25. A

    Mathematica Help with Mathematica: Transforming Image Pixels to Natural Numbers

    Hi, I am trying to do a transformation on an image with the program Mathematica in the same way stated in the following scientific article : http://arxiv.org/PS_cache/arxiv/pdf/0710/0710.0021v1.pdf I would like to associate each pixel of the picture with a pair of natural numbers. I used the...
  26. C

    Mathematica Mathematica: Putting an expression in terms of a specific variable

    My problem is this: I have an algebraic expression, and I want to express it in terms of one variable divided by another. It's a fairly large expression, and I'd like to do it in mathematica before attempting it by hand. I've tried Simplify, FullSimplify and Solve, but none of these have done...
  27. A

    Mathematica How to make my own color scale (ColorData) on Mathematica

    Dear All, I started to use Mathematica to make some plots I usually did with gnuplot. I know it has some great color schemes, but I would like to be able to use the same I was using in gnuplot. The question is: how could I create a color scheme? In gnuplot I just used the following command set...
  28. R

    Mathematica How to plot 3D vector field in spherical coordinates with Mathematica

    I want to graph this vector field -^r/r^2 but I don't know how to do. Any help would be appreciated.
  29. M

    Mathematica Mathematica: Find Maximum Value of Interpolating Function

    Hi everyone, I'm pretty new to Mathematica, and I'm trying to find the maximum value of an interpolating function. I'm looking at Fitzhugh-Nagumo dynamics and below is what I have so far. My 'fitz1' gives me 4 variables each described as an Interpolating Function, and I would like to find...
  30. M

    Using Mathematica to solve 2nd order system of nonlinear ODE's

    Hello, I've started learning how to numerically integrate ODE's and I've run aground when i posed a 2nd order system for mathematica. Here is my initial code: NDSolve = [{x'[t] == -y[t] - x[t]^2, y'[t]==x[t], x[0]==1, y[0]==0.5},{x,y},{t,0,30}] and i get an error message saying the...
  31. V

    Please help me to work out this Mathematica pendulum problem Thanks

    Write a program in Mathematica that makes a plot of the period of a simple pendulum vs. its amplitude, as the amplitude (the initial angle from which the pendulum is released from rest) ranges from theta = 0 to theta = Pi/2. Use the built-in function NDSolve to solve the exact differential...
  32. ChristinaJ

    Mathematica Mathematica - Label plot ticks using strings

    All, I have a ListSurfacePlot3D graphic and wish to label the tick marks using strings. For example if I have X={x1,x2,x3} I would like to label each tick mark at that point with a string, i.e. x1="a", x2="b" etc. I would also like to know how to take a list of strings and distribute them...
  33. T

    Mathematica Mathematica eigensystem incorrect?

    I'm trying to compute the eigenvalues and eigenvectors of a 4x4 matrix using mathematica. The problem comes when I try to check the values using the commands: {vals, vecs} = Eigensystem[m] TrueQ[m.vecs[[1]] == vals[[1]] vecs[[1]]] Which should return "True"; instead it returns "False" I...
  34. A

    Mathematica Import and plot multiple data sets in Mathematica

    I have a dat file with multiple data sets, with the following structure: # t = 0.0 , ... -10.000 0.00001 1.000001 ... -9.000 0.00002 0.900001 ... ... 10.000 0.00005 1.000001 ... # t = 0.2 , ... -10.000 0.00301 1.000203 ... -9.000 0.02222 0.900043 ... ... 10.000 0.00025 1.000551...
  35. A

    Mathematica How to Repeatedly Calculate and Store Values in Mathematica?

    Hi, I have the following simple code in Mathematica: a=1; step=0.5; b=2; y=a^2-5 -4 What I need to do, is make Mathematica calculate the value of y each time for a different value of "a" ranging from the initial value of 1 to "b"(=2) in "step" increment (=0.5), and remember previous...
  36. Hepth

    Mathematica Mathematica : Log Handling/Simplification

    I'm having a simple problem with simplifying of logs. Given the input : FullSimplify[8 Log[m1] - 8 Log[m2] + 4, m1 > 0 && m2 > 0] FullSimplify[8 Log[m1] - 8 Log[m2], m1 > 0 && m2 > 0] I get out: 8 log(m1)-8 log(m2)+4 8 log(m1/m2) So for the second command it combines the logs...
  37. A

    Mathematica Partial differential equations with mathematica

    hello, i just want to ask if mathematica 7 can solve nonlinear second order partial differential equations. i tried solving it with DSolve but it kept on giving me the question back as the output...please is there any way or syntax for solving it on mathematica 7?...thanks for any suggestions.
  38. F

    Mathematica Problem in derivative of big eqaution in mathematica

    i want to put this equation in mathematica to have derivative i always have error please tell me how to write it in mathematica to get the derivative also to solve the equation i attache the equation in word file
  39. F

    Mathematica not plotting for me

    Homework Statement I've been trying to plot Plot[x^2/4 - ln[x]/2, {x, 0, 5}] And it keeps showing me a blank graph. I did it on Wolframalpha and it worked.
  40. Orion1

    Mathematica How Can Mathematica Extract and Reuse Output Values for Further Computations?

    \text{In}[1]:=\text{Solve}\left[\partial _{\theta } \text{Sin}[\theta ]==0,\theta \right] \text{Out}[1]:=\left\{\left\{\theta \to -\frac{\pi }{2}\right\},\left\{\theta \to \frac{\pi }{2}\right\}\right\} Is there a Mathematica source code command that can read a specific numerical value from...
  41. F

    Implicit Differentiation with Mathematica

    Homework Statement I tried using D[x = y - y^2, x, NonConstants -> {y}] and it keeps telling me that y - y^2 is not a valid variable.
  42. F

    Why is Mathematica giving an error when trying to plot xe^{-x}?

    Homework Statement I am trying to plot xe^{-x} by using Plot[x*e^(-x), {x, 0, 5}] and it keeps telling me that Plot::exclul: must be a list of equalities or real-valued functions. So I tried Plot[x*e^(-x), {x, 0, 5}, PlotRange -> {-10, 10}] Still not working The Attempt...
  43. K

    Mathematica How can I fix the warning for solving summation in Mathematica?

    Hi everyone, I have these warning solving summation: ************************************************* In[1]: f[m_, n_] := 2 n + 3 m; In[2]: g[m_, n_] := Sum[f[m, n], {m, 1, m, 2}, {n, n, 1}]; In[3]: g[1, 1] During evaluation of In[3]:= Sum::itraw: Raw object 1 cannot be used as an...
  44. D

    Mathematica Working with the Saha equation in Mathematica

    I am trying to calculate the ionization curve for hydrogen at a given matter density (in this case it happens to be 55 atoms/cm^3) From the Saha equation and putting the concentrations in terms of reaction coordinates. It looks something like this: Log[x[t]^2/(1 - x[t])] = 1/(k t)E - 3/2...
  45. R

    Mathematica Getting mathematica to take more points when it plots

    I've had this problem many times in the past, and haven't thought of a way to fix it. Sometimes when I plot a function that requires quite a bit of effort on mathematica's part, (for example, one time the function was a sum of about a thousand terms, each of which was multiplied complex terms...
  46. R

    Mathematica Mathematica PlotStyle->{color,color,color} not working

    Hi All, running into a bit of a mathematica issue. I put the following code into plot: Plot[Im[correlationList], {t, 0, timeEnd}, PlotStyle -> ColorList] correlationList is a list of complex functions that have been evaluated at t. It correctly plots all of them (if I change it to...
  47. ChristinaJ

    Mathematica Mathematica: Plot time evolution data in 3D

    Hi all, I have 3 lists of data where lists; A={numbers}, B={numbers} and C={{y,m,d,h,m,s},{...}} (i.e. C is in the form DateList). I have no problem plotting using DateListPlot for the 2D case (C VS A) but can't seem to plot all 3 sets of data together. Mathematica seems not to be able...
  48. F

    Plotting Polar Curves in Mathematica: Troubleshooting Homework Statement

    Homework Statement I am trying to plot the two polar curves r = \sqrt{3} cos(\theta) and r = sin(\theta) Mathematica only gives me one of the curves. I tried plotting PolarPlot[{sqrt (3) Cos[t]}, {t, 0, 2 Pi}] and it gives me a blank box in the first quadrant. any ideas?
  49. G

    Mathematica [Mathematica] Combining several Graphics in a Graphics3D

    Hello all, I'll try to make myself clear... My goal here is to plot a function f(x,y) in 3D. But, instead of using the Plot3D[] function, I made a table of Plot[] for, say, several values of the x variable. So I'm now with a list which looks like this ...
  50. M

    Mathematica Extracting frequency from DFT set in Mathematica

    Maybe someone else had this problem. Lets say we have a sampled Gaussian pulse in time domain and transform it into frequency domain. For that I use the discrete Fourier transform. Now the resulting set of transformed values is made up of complex numbers. I want to extract two things from that...
Back
Top