3
votes
3answers
94 views

Defining a function that that evaluates a function to obtain a value not supplied as an optional argument

I have a function like this CentralDifferentMethod[α_, β_, α1_, α2_, λ_, v0_, dt_, t_] Now, I want to add a new parameter ...
0
votes
0answers
112 views

Rearranging 5 equations

I am trying to rearrange 5 equations in terms of 5 variables. I have the equations for y1, y2, ...
1
vote
1answer
117 views

A FindRoot error

...
4
votes
1answer
297 views

How to draw multi curves in a graph with errorbars

The curves are composed by several 2*n nested lists. I want these curves be placed in a 3d way, like the xy plane is for the data, different curves are located in several parallel xy planes with ...
1
vote
0answers
74 views

Import file size capacity for Mathematica

I am trying to import a large data set (.csv) into Mathematica. The data set contains more than 14 million rows, is this something Mathematica can handle? If not, what is the maximum capacity? I have ...
1
vote
1answer
73 views

How to solve this equation?

Mathematica does not give me the correct solution (-1) for this equation: Solve[9^(x + 4) == 27^(1 - x), x] Do I miss something or is Solve the wrong approach ...
4
votes
2answers
276 views

Approximation to the prime counting function

Is there a function similar to PrimePi that gives approximate value for large numbers? In particular, I need a reasonably good approximation for $\pi(x)$, where ...
2
votes
0answers
77 views

How could I visualize a rotating cone within a sphere?

I am just learning Mathematica and as the title states here is what I want to achieve. How do I visualize a rotating cone within a sphere ? The length of my cone is governed by following equation. ...
14
votes
1answer
131 views

How can I restore the old `ImageCompose` behaviour?

Prior to version 10, if ImageCompose was used to overlay a partially transparent image region over a completely transparent image region, the result would keep the ...
1
vote
0answers
74 views

Use of Mathematica to put equation into vector form

Is there a way to put the following equation of a line into vector form using Mathematica (or a Mathematical package)? $\displaystyle ...
18
votes
2answers
331 views

Is there a comprehensive list of functions with V10 operator forms?

Version 10 sports operator forms for many functions like Map, SortBy, Select which allow you ...
13
votes
4answers
1k views

How to get Company Logo or Image

I can see that companies have a logo in Wolfram|Alpha when I type in their name but I can't get them in Mathematica. For example searching for Apple, Inc. in W|A one of the outputs is the Apple logo. ...
2
votes
1answer
76 views

Using HoldFirst but not wishing to hold everything

I have a DynamicModule in which I go through some data analysis and keep or reject the results. Here is a toy example of what I am doing. ...
4
votes
2answers
245 views

Short form of Graphics

Sometimes I want to investigate the structure of Graphics/Graphics3D which is produced by ...
2
votes
6answers
175 views

Setting the elements of a list equal to elements of a different list

A = {a,b,c,d,e,f,g,h} B = {1,2,3,4,5} How would I go about setting some of the elements in list A equal to the elements in list B and then the left over elements ...
5
votes
2answers
210 views

Thick of a marker in ErrorListPlot

I have error bars that are too small, so the marker are too big, i want to shrink the dots. If i do ErrorListPlot[dato,PlotMarkers->{o,1}] my bars do not show, ...
2
votes
1answer
72 views

Compare some lists, if elements are almost equal

I've got the solutions of three systems on two variables (a and b) that gives results sometimes almost equal. The three list are not of equal length! For example: ...
6
votes
1answer
117 views

Issue with combining weighted data log histograms

I have a bit of a strange problem. I'd like to overlay 3 different logarithmic Histograms with two of them stacked and one separate [*]. Without weights the solution is simple: ...
2
votes
2answers
125 views

Some major and minor ticks are not shown in Plotting functions

I am using Mathematica 10.0.1 on Windows 64-bit machine. I have two 1D lists as follows. ...
0
votes
0answers
66 views

How to add Shift-Enter in external script?

I often generate MMA scripts externally w/ python to copy/paste into a notebook or run MMA directly on that file. I want resulting output interleaved w/ input commands, as would happen when the ...
5
votes
1answer
74 views

Determine return type of CompiledFunction expression

Is there a way to extract the types of the arguments and the return type from a CompiledFunction expression? I am writing a package for code generation (basically a wrapper around CCodeGenerate) where ...
4
votes
1answer
135 views

Filling a curve towards toward the top of the plot

I have a curve. If I want to color fill or shade, not towards axis but upward form the curve, what command can I use?
2
votes
1answer
149 views

Continuous 3D Arg Plot

I have a problem with jumping phase plots using the Arg function in mathematica. I have looked at the other questions already asked here (e.g., continuous phase/Arg ...
7
votes
1answer
169 views

Changing PDF version in Mathematica 10

With Export, I am generating pdf files with pdf version 1.5. Is there a way to generate them with pdf version 1.4 instead?
1
vote
0answers
102 views

Generating 2D models from a 3D model

I have a model of cube with randomly distributed spheres included there. ...
6
votes
1answer
226 views

Book about using Mathematica in real world engineering projects

So far I've abused Mathematica by only using it as a notebook. That's a big waste since I've bought a student-life time Mathematica 9 / SystemModeler license. My problem is that I'm not inspired to ...
8
votes
2answers
190 views

Held keys in associations

Jacob Akkerboom commented: Note that PositionIndex does work correctly with held expressions, whereas this is a bit painful to implement using ...
1
vote
1answer
37 views

Setup default temporal directories for CCompilerDriver

Problem: I have cyrylic symbols in my $UserBaseDirectory. As result temporal directory for CreateExecutable...
2
votes
0answers
47 views

distributing definitions in an .m file and memory

I am dealing with a huge table stored in an .m file of size 4 GBs. Somehow when I call the table in .nb file it seems the memory increases not by 4 GBs but more than 10GBs (roughly checking from task ...
1
vote
1answer
57 views

NMaximize not substutiting parameters of objective function [duplicate]

NMaximize is not substituting parameters of its objective function. Is there a way to fix that? I have a three line program that exhibits the problem. ...
4
votes
1answer
111 views

Possible bug / numerical issues with HypergeometricU — any suggestions for a fast workaround?

I've encountered some problematic behaviour with HypergeometricU. I have a probability distribution on the positive integers that takes the following form after ...
3
votes
1answer
71 views

How can I create a set (list) provide a kind of rule/algorithm?

Example: S = {r ∈ Q : r² < 2} Let S be the set of all rational numbers whose squares are less than 2. It follows that 1 ∈ S, 4/3 ∈ S, but 3/2 doesn't ∈ S because 9/4 ≥ 2. Thank you.
5
votes
2answers
182 views

Graph expansion on Mathematica

Is there a way by which Mathematica can be given a graph as an input and be asked to find its expansion? Note: By "expansion" I mean the quantity called "isoperimetric number" or "Cheeger constant", ...
1
vote
1answer
128 views

NSolve for complicated equation involving double cross product

I have the following issue. I am trying to solve a 3-vector equation for the vector slx, sly, and ...
13
votes
1answer
402 views

Greek variables in 10.0.1

Bug introduced in 10.0.1 and fixed in 10.0.2 10.0.1 under Ubuntu 12.04 x64 .... Does everybody get greek variables emboldened? Is anybody aware of how to revert to previous normal display? The ...
5
votes
1answer
210 views

Solution to a T+U = E equation

I needed to solve really easy differential equation (in dimensionless units): $$ \mathcal{T} (\dot{\xi}) + \mathcal{U} (\xi) = \text{const.} \equiv \varepsilon ; \quad T(\dot{\xi}) = \dot{\xi}^2 ; ...
6
votes
1answer
76 views

Bug with Initialization in DynamicModule?

In exploring Tracking Initialization, I came across this. The following usually shows a value for x of 300000 to ...
9
votes
3answers
283 views

How to plot a series using different colors depending on the y-value

I have a sequence of numbers ${x_1,x_2,\ldots,x_n}$. I would like to plot the sequence using ListLinePlot but use a different color depending on if the values $x_i$ are within $a_i<x_i<b_i$. ...
9
votes
1answer
149 views

Tracking Initialization

How to track Initialization step by step? Any tricky solution is ok. One condition, x should be ...
12
votes
2answers
525 views

Extracting the function from InterpolatingFunction object

I've used Interpolation[] to generate an InterpolatingFunction object from a list of integers. ...
11
votes
3answers
241 views

Find all heads a function is defined on

So say I've got a function g defined as follows: g[x_Integer] := x + 1 g[s_String] := s <> "!!!" How would I write a ...
1
vote
0answers
83 views

How to generate a 3D terrain from a terrain-map image? [closed]

I attempted to generate a 3D terrain from a terrain-map image with the following code. What I got was a NULL terrain. What is wrong with my code? ...
9
votes
3answers
918 views

An inverted pyramid

I want to draw a pyramid approximately like this ...
2
votes
3answers
147 views

How to multiply specific columns in a matrix of data?

So I need to make a plot of some ~2000 data points I have from a spreadsheet. I'm able to import the data just fine, it stores it like so sundat ...
2
votes
0answers
260 views

Solving a system of two nonlinear equations with many symbolic parameters

I have two nonlinear equations with two unknowns, $x$ and $y$, and many symbolic parameters, $a, b, c, d$. They look someting like: $\frac{1}{x}(1+x)^a (1-b)(cx+dy)=0$ ...
4
votes
2answers
302 views

How to SemanticImport Multiple Excel Sheets

I have an Excel workbook with multiple sheets that I'd like to import into a dataset each. With Import I can target individual sheets by their name into a nested ...
8
votes
2answers
202 views

Vertical (mis-)aligning of plotmarkers and legend text in V10 PlotLegends

Consider this example, taken from the docs and modified for a larger font size using Style (V10.0): ...
8
votes
0answers
196 views

Interpolation on an unstructured (mostly-structured) grid in 4D+

I frequently need to perform interpolations on an unstructured grid. Mostly, with the purpose of filling grid holes and then later continue with regular grid interpolations. Mathematica V9 and V10 ...
8
votes
1answer
161 views

How can I disable the “convert to freeform linguistic input” dialog box?

So I'm putting in some function, busy typing away. Then after I've entered some text, I pause for a few seconds. In this time, the notebook pops up the question "Convert to Free-Form Linguistic ...
7
votes
1answer
194 views

Extract common subexpressions from expressions [duplicate]

I am trying to evaluate multiple independent expressions with common parts. I would like Mathematica to somehow give me this common parts. It's probably not so clear, so let me give you an example. ...

15 30 50 per page