-1
votes
1answer
17 views

How to integrate a table?

I have the following Table (dy/dx)={24,24.5,25,25.4} How do I proceed to interpolate the table and compute Integrate[Sqrt[1+(dy/dx)^2],{x,65,68}] ?
0
votes
0answers
13 views

TreeFormvs TreeGraph

Is it possible using TreePlot to color part of the Nodes in the tree in a different color, and to make a path to the node with different color? I used TreeForm and is very short to make a tree ...
0
votes
0answers
23 views

Bug with PlotRange in Mathematica 10?

Show[Plot[x, {x, 0, 1}, PlotRange -> All], Frame -> True, PlotRange -> {{0, 1}, {0, 1}}, AspectRatio -> 1] gives the expected result in ...
-1
votes
1answer
20 views

Reduced interpolation order

I have a problem with Interpolation - the order is reduced to 1 no matter what, but I need a quadratic interpolation order. The ...
0
votes
1answer
19 views

Efficient subsetting and averaging

The following code aims to average 4 groups of the values vector. Which elements belong to each group is determined by the indic ...
1
vote
0answers
22 views

Documentation with Workbench: Paclet vs Package

I am writing documentation for my package in Workbench. But for some reason, all of the help pages (and the index) of the package say that the various functions and symbols are "PACLET SYMBOL" [see ...
1
vote
1answer
39 views

This system cannot be solved with the methods available to solve

I know questions about this warning have been posted a thousand times over. But I really couldn't find any solution that worked in my case. It's quite simple: ...
0
votes
4answers
36 views

how to label ticks in listdensity plot in Mathematica

I have some discrete data and want to make desnity plto as ...
1
vote
1answer
44 views

How to group box-and-whisker in parallel for comparison in BoxWhiskerChart?

I have two collections of data: xdata and ydata ...
0
votes
0answers
16 views

Mathlink compiling error MLPutReal32Array()

I have some c++ code I wrote in Windows that compiles and runs just fine. I was going to use it on a Linux machine but I am getting the error when I try to compile following the Makefile procedure ...
0
votes
0answers
13 views

What system functions use VertexWeights?

EdgeWeights -> are used by a lot of functions, but I can't find any exposed usage for VertexWeights ->. I'm not asking ...
2
votes
1answer
41 views

How to delete graphics

The code below does not execute as I had intended it to do. Clearly, I do not understand where to go from here. The first click of the mouse sets the initial conditions (t0,x0) for the unique ...
0
votes
0answers
32 views

Evaluate function gives zero while plot shows non-zero function

I have obtained two functions, f and g, as two of the solutions to a certain set of PDE's (using NDSolve). I cannot provide the differential equations here because the system is very large, but will ...
3
votes
2answers
93 views

Test existence of a path from one side of a graph to another

I'm trying to determine how I can test if a path exists from one side of a graph to another as efficiently as possible. If I have the Lines given by: ...
0
votes
0answers
19 views

CUDA functions cannot be compiled

i5-3210M, GT 630M; Windows 8.1 x64, Visual Studio 2013; CUDA 6.5 has been installed. One of the clues I found is that GT 630M didn't appear in the list of graphics cards supported by CUDALink ...
0
votes
1answer
87 views

Mathematica won't plot the a function that is solved from NDSolve

I have used NDSolve to solve for a function (an angle of a triple pendulum), and now I wish to plot the derivative of that function (the angular velocity). ...
0
votes
1answer
24 views

Creat a global variable from an argument and being able to use it as a numeric input

I want something like this: myfun[j_]:=Block[ {ans}, ans = Range[j]; "phi"<>ToString[j] = Total[ans]; ]; The procedure is just an illustrative ...
0
votes
1answer
59 views

Misunderstanding of Function Notation

I have: sol = DSolve[{y'[t] == y[t]^2 - y[t], y[0] == c}, y[t], t]; y[t_, c_] := y[t] /. First[sol]; Then: y[t,c] Produces ...
0
votes
0answers
33 views

How to combine manipulate and eventhandler

I combine manipulate and eventhandler, now I can change the controller when working on eventhandler, but how to change the value in eventhandler when I control the manipulate controller? ...
1
vote
2answers
73 views

How do I create a color plot that varies with angle?

I want to create a plot with a hue that varies as $l\theta$. $l$ is an integer and $\theta$ is measured modulo $2\pi$. My specific case is $l=10$, but I want to be able to vary $l$ as well. I have ...
0
votes
1answer
38 views

how to move the root from a tree?

I have the code : ...
0
votes
1answer
38 views

Nested OpenerView controls not aligned

This question is related to a previous question of mine, Expand and collapse rows in a grid I'm trying to have nested OpenerViews similarly to the answer of kguler, but they are not aligned. The ...
0
votes
1answer
17 views

Obtain the values of all Sub- and/or Superscripts from an expression?

Let Expr be an expression that can be practically any combination of variables. Now I can check whether this expression contains any subscripts or superscripts with ...
0
votes
0answers
35 views

What graph distributions are available in Mathematica?

Where can I find a list of all the graph distributions available in Mathematica?
2
votes
3answers
72 views

Comparing two lists lexically

I have two lists of integers a and b of equal length, and I would like to define a>b as ...
4
votes
2answers
146 views

How to count and mark all counted objects in this image

I need some help on image processing in Mathematica (I have unsuccesfully tried with OpenCV). I have an image: and I need to count all objects in this image and mark them. The perfect result ...
0
votes
0answers
35 views

RegionPlot fails when given function with internally redefined variables

I've just upgraded to v10, and have noticed that some of my trusty old notebooks which used RegionPlot now fail to run. I've boiled down the problem I'm having to ...
-2
votes
1answer
46 views

Create a matrix by crossing a list

I've a list L of elements. I want to create a matrix by laying each elements of L in both rows and columns where each ...
0
votes
0answers
44 views

Numeric number vs. formula [on hold]

I have a rather big code and already asked this question here, but because it's somekind another problem i thought it would be valid to ask again. My code produces Eigenvalues. To do this, i have to ...
0
votes
2answers
56 views

NSolve gives {{ x -> #}}, How do I make x = #; I need to use the x value again later

I want to use: demand = {1.92, 2.07, 2.37, 2.72, 2.87}*10^6; NSolve[SetV == demand[[1]]/(Cpf (1 - χ)), χ] I want to make a vector of solutions ...
2
votes
2answers
54 views

Optimization problems over the Integers

Should be an easy question. How can I define a function which gets only integers in a form that I can use to find max and min for instance? Example: Find the Max of the expression ...
-1
votes
0answers
24 views

How to hanlde LinearProgramming if no solution can be found that satisfies the constraints

I have a Linear Programming that sometime it can't find a solution to satisfy the constraints. ...
1
vote
2answers
63 views

Prime power list

Update Is there any better way of generating the nth prime power? Chip Hurst gave a great solution for a list below, so ...
1
vote
1answer
47 views

I need to move X to right side without solving or simplifying anything else

I need to manipulate this equation where x is on the left side of the equation. I will be using this in excel and all other numbers will actually be referencing cells so I need x moved to the right ...
3
votes
1answer
53 views

How do I plot a line delineating a subset of values on a 3D surface plot?

I have the following surface plot: ...
0
votes
1answer
25 views

DSolve for first order nonlinear equation is solution numerical or analytical?

Hi I'm new to mathematica so I may have a somewhat trivial question. my code below solves and plots the results of a first order nonlinear ODE. The solutions mathematica gives me contains & and #1 ...
0
votes
1answer
37 views

3D sphere plot, along with singular points [on hold]

I have very little experience with mathematica, what I am trying to do is plot 4 points on 3D axes, say a,b,c,d and then also plot a sphere radius r centred on a. Any help would be much ...
2
votes
0answers
31 views

How to use nest to reduce the memory eatting of mma?

I enconter a problem about number: If we have 5+3+2=151022 9+2+4=183652 8+6+3=482466 5+4+5=202541 then 7+2+5=? It is easy to get the first two group of numbers? for the ...
0
votes
1answer
43 views

TraditionalForm for PlotLabel with a parameter

This is a simple variation/spin off of this question, but I am having trouble. In the second example in the original question, I'm trying to get the $a=$ in the ...
0
votes
1answer
49 views

Problem in LinearProgramming [on hold]

I wrote a integer Linear programming where matrix c, m and b are: ...
0
votes
2answers
74 views

Systems of equations

As I stated in this question I am trying to find the roots of a set of equations. I followed the instructions that the answer gave me and Mathematica gave me the solutions. 1- However whenever I try ...
11
votes
2answers
127 views

Mathematica, animations, and external ray tracing programs

As much as I enjoy and admire Mathematica's animation capabilities, I would like to take my animations to the next level by exporting the geometry of every frame to an external ray tracing program ...
0
votes
1answer
56 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file, here is the sreenshot As you can see, the spacing in the text is odd. But it becomes normal if the length of ...
2
votes
3answers
84 views

Symbolic integration conditional bug?

I just ran across this: Assuming[x > 0, Integrate[1/t^2, {t, 1, x}]] gives the output ...
1
vote
2answers
59 views

Output of NIntegrate depends on MaxRecursion

I have an integral in this form: ...
2
votes
3answers
68 views

How to test a condition for a list and output all the expression that is true?

Suppose that I have a list lis={x-y,x+y,x*y}; and a function f[a_,b_]:=#/.{x->a,y->b}& I want to output all the ...
3
votes
1answer
47 views

RegionPlot with ColorFunction gives ugly frame labels

I was working on a simple 2D region plot: ...
1
vote
0answers
61 views

Can Mathematica reconstruct an audio signal from a given spectrogram

I just realized that Mathematica can easily construct a spectrogram for a given .wav file. My question is, to what extent can this process be inverted in Mathematica? Namely, lets say I have the ...
1
vote
1answer
77 views

How to obtain the best possibe NonlinearFit

Here is some sample data ...
4
votes
0answers
54 views

In Graphics, a button without action will not work?

A minimal example: Graphics@Button[Disk[]] will yield error message Button is not a Graphics primitive or directive. But if you drop ...

15 30 50 per page