Mathematica

Mathematica

  • All Sites
  • All Meta Sites

0 answers

How do I find many maximums in a list in Mathematica

I have some data that i'm trying to analyze and it has many cycles where it returns to a maximum value. I want to be able to select and pull out all of those maximum values and make a trend line to ...

1 answer

What is a good test for comparing frequency counts between two groups?

I am looking for statistical methods used to compare frequency of observations between two groups. I have two geographical locations with data on different soil types present. for example, my data ...

1 answer

3d plots in Matlab similar to Listplot3D in mathematica

I am trying to plot a 3-D graph using matlab. I am unable to use the "surf" command but when I plot it using the below command I am getting a line plot. I need something like a surface plot. ...

1 answer

Mathematica plotting based on all previous equation results

I have a plot Plot[40500*x^(-0.1), {x, 1, 100}, PlotRange -> {0, 50000}] I'm trying to plot the cumulative of these y values. I'll try to explain with an example: I'm trying to get for x=1: ...

1 answer

Preventing rounding of Mathematica expressions

When using Mathematica, the following expression is given: In[429]:= 100*(1 - 0.002)^5*(1 - 0.005)*(1 - 0.006)*3.5 Out[430]= 342.7127137548418 I tried using N[], SetPrecision[] etc.. and couldn't ...

1 answer

How to write a function with subscript argument in Mathematica?

I have a function F = a*kt, where t is a subscript for k. Basically it is Subscript [k,t]. How to assign kt is an argument for my function?

0 answers

Mathematica - distance between two curves

I am trying to compute the distance between these two curves. I have tried it like this FindMinimum[Norm[f[x] - q[x]], {x, 0.2}], but according to the automatic evaluation of my university this is ...

0 answers

EdgeStyle on a LayeredGraphPlot

I'm using the LayeredGraphPlot function of Mathematica, and I would like to customize my edges and vertex using EdgeStyle and VertexStyle. But these two functions don't exist for a LayeredGraphPlot. ...

1 answer

SymbolName applied to a list of variables, some of which may have values assigned

In Mathematica: I would like to pass a variable number of arguments to a function. I would like to print the name of each argument. The problem is that SymbolName evaluates its input. For a given ...

1 answers | Jun 25 at 17:50 by nlmath on Stack Overflow stackoverflow.com
0 answers

Mathematica is getting slow when repeatedly starting an external program

I found a strange phenomenon that Mathematica is getting slow when I repeatedly started an external program by using ReadList. For example, the following code will display a significant increase of ...

0 answers

LaTeX rasterizes Mathematica 10 PDF figures when PDF document is printed, but not Mathematica 9 figures

Not sure whether to post here or on Mathematica SE (or somewhere else), but I'll give it a go here first. I recently updated to Mathematica 10 and then discovered that when I printed a LaTex ...

1 answer

How to make a map with a contour plot overlay from latitude and longitude coordinates

I have a csv file with longitude and latitude coordinates at various times and then another column that assigns a value from 1-10 for each of the location points. I want to create a contour map of ...

1 answer

MATLAB := Syntax?

I am having trouble trying to debug some code (new to MATLAB). I have come across the following line of code: CC[theta_] := {{Cos[theta],I Sin[theta]},{I Sin[theta], Cos[theta]}} I get an error ...

1 answer

How do i show value that meets specific criteria in wolfram mathematica?

i will try to explain my problem Lets say i have data like this x={1,2,3,4,5,6} and my condition is 4<=x<=6 and I want to show that the value that meets criteria is 5. my program looks like ...

1 answer

mathematica transpose does not work when using NumberForm and OutputForm

the code is like nwwa = List["#w#"]; nkka = List["#ks#"]; For[j = -4, j <= 4, j++, w = 16*(0.5 + 0.1*j); nwwa = Append[nwwa, w]; //calculate ks nkka = Append[nkka, ks]; ] ...

0 answers

Loading .dylib files into R

So, this may be a question that requires knowledge of both Mathematica and R -- a fairly small set of people, but I am giving it a try. Suppose I use Mathematica's LibraryGenerate function to create ...

0 answers

Plugging a Mathematica code into a given template (before winter comes)

I have the following code sample, \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{listings,xcolor} \lstset{language=Mathematica} \lstset{basicstyle={\sffamily\footnotesize}, ...

1 answer

Frequency of a wavelet filter

Assume that I have decomposed a data set using Symlet Wavelet with six levels. How can I estimate the approximate frequency interval of each level? That would be great if you consider your answer in ...

1 answers | Jun 19 at 16:14 by K-1 on Cross Validated stats.stackexchange.com
3 answers

Mathematica North America map

How would you render a map such as this one within Mathematica? (e.g. one with US states and Canadian provinces colourable separately?) ...

1 answer

Finding all possible paths between all vertices of a graph

I have a directed graph with 13 vertices and would like to examine all possible simple paths of all lengths (max=12). I tried the FindPath[Graph,Vertex1,Vertex2,12,All] formula, but had to enter this ...

1 answers | Jun 18 at 9:11 by EvaS. on Stack Overflow stackoverflow.com
1 answer

Problem with Solve a Differential Equation

I Have a little problem . I wrote this function ( function describe dynamics of ball-hoop system): soln = NDSolve[{7000*q''[t] + 20000*q[t] - 800*f''[t]*f[t] == 0, 896*f''[t] - 480*h''[t] + ...

5 answers

Plotting a number line in Mathematica

I would like to plot a simple interval on the number line in Mathematica. How do I do this?

0 answers

How to make a jump difussion graphic

I have to plot the next jump diffusion model using Mathematica or a similar tool: namely, a Geometric Brownian motion with compound Poisson jumps. I can use any program for it. Note: I have ...

2 answers

pattern matching in pure functions

I need to define a pure function that takes two arguments and returns their quotient. If the divisor is 0 then I want to return 0. If I had a named function then I would do div[_, 0] := 0 div[x_, ...

1 answer

Fun/Frustration With Coding Coding Theory

it's time for practical coding theory. I am trying to write a simple program that will detected if a given binary code word is "correct" or not. If it is not correct, I want to detect/correct (since ...

0 answers

Using Orthogonal Collocation to solve Coupled Ordinary Differential Equations

I am trying to solve six first order coupled ODE's, two of these are associated with a heat balance of a catalyst pellet, and four are mass balances. I have been trying to solve these equations using ...

2 answers

Wolfram Workbench and Mathematica Help System

I find the Wolfram Workbench a nice environment for Mathematica development. However, as I program in Mathematica, I need to navigate the Help System very often. The Workbench provides a tooltip ...

2 answers | Jun 14 at 18:45 by belisarius on Stack Overflow stackoverflow.com
1 answer

Why is process not being displayed by TOP

I am running a Mathematica script (this question probably doesn't fit in Mathematica.SE however) and I know that it generally takes up a lot of RAM and loads up my cores. However, althought pgrep ...

1 answers | Jun 14 at 16:33 by drN on Super User superuser.com
3 answers

Why doesn't this use of Begin[] work?

If we evaluate these lines one-by-one, x will be created in the context cc. Begin["cc`"]; x = 1; End[] However, if we evaluate them together, (Begin["cc`"]; x = 1; End[]) then x will be created ...

2 answers

Exposing Symbols to $ContextPath

There are a variety of Internal`context functions that are useful, such as InheritedBlock, Bag and StuffBag, etc., as well as many useful Developer` functions. I wish to expose a selection of these ...

15 30 50 per page
1 2 3