2
votes
0answers
178 views
+50

Generalize WASD Function First Person Viewing

How might I generalize the following WASD question such that it works with any Graphics3D object and includes q and ...
2
votes
0answers
68 views

Compile issues, scoping and order of evaluation

I have a few questions about compiling functions, which I think are all related to scoping and order of evaluation. I will illustrate them by a minimal example of the problem I have. I'm sorry for ...
2
votes
0answers
42 views

k-means clustering using squared correlation in Mathematica

I am trying to cluster data using the squared correlation coefficient since in the case of my data, -1 correlation is equivalent to 1 correlation (polarities do not matter). How can this be done in ...
2
votes
0answers
49 views

How to make a new analytic function work seamlessly with Mathematica's analysis functions?

I am defining a new analytic function of six variables. I have algorithms to evaluate it numerically, and have amassed a large catalog of analytic properties. It is easy for me to program the ...
2
votes
0answers
31 views

Compiled DiagonalMatrix

The standard function DiagonalMatrix cannot be compiled, so I tried writing my own: ...
2
votes
0answers
89 views

Generating function for Newton series?

The function GeneratingFunction gives generating function for Taylor series. Is there a similar function for Newton's series? $$f(x) = \sum_{k=0}^\infty \binom{x}k \Delta^k [f]\left (0\right)$$
2
votes
0answers
43 views

How can I export graph as PDF with metadata such as Title and Author fields

I want to export figure from Mathematica in PDF format. Also I want to include Author and Title fields into the PDF. For example, to include Author field, I use the following code: ...
2
votes
0answers
25 views

How to syntax check that all instance of symbol must be contained in Subscript[]

I have a function f[expr] that is only allowed to take an expression expr that is a polynomial in ...
2
votes
0answers
23 views

How to disable half-hiding output, when the corresponding input cell is modified

I think it has become less easy to compare the new output, now that the output font color turns gray as soon as something is modified in the input cell. Is there any solution?
2
votes
0answers
41 views

Derivatives with respect to Cartesian coordinates of functions in spherical coordinates

This seems to me to be a common task, and the more surprised I was to not have found much on this. Suppose I have an expression f in spherical coordinates ...
2
votes
0answers
28 views

Use EvaluationCompletionAction to notify me only after long evaluation

Is it possible to use the option EvaluationCompletionAction to notify me (e.g. with a Beep[]) when an evaluation that took ...
2
votes
0answers
31 views

How can I program my own financial indicator to be plotted in a TradingChart?

FinancialIndicator["ind",par1,par2,...], represents a financial indicator "ind" with parameters par1,par2, etc. All available financial indicators can be displayed with FinancialIndicator[]. Is it ...
2
votes
0answers
36 views

CUDALink Error: A CUDALink kernel timed out?

I'm following the CUDALink tutorial [ http://reference.wolfram.com/language/CUDALink/tutorial/Introduction.html ] and everything is going fine until I get to the part that calls CUDADot on the ...
2
votes
0answers
143 views

Annoying FrontEnd bugs in Mathematica 10

Recently I installed Mathematica 10 on Windows 8 x64 machine. Before that I had a prerelease version of Mathematica 10 installed on my laptop. I observed very annoying bugs in the FrontEnd on both ...
2
votes
0answers
61 views

Solving a system of difference equations in an exponential steady-state growth setting

I have a system of difference equations in an exponential steady-state balanced growth setting; all variables grow at the same steady-state rate, say, $g$. I use the notations as follows: Variable $X$ ...
2
votes
0answers
76 views

Conceal GUI source code

I'm working with a simple software application written in Mathematica, composing of several .nb and .m files. The application is centered around a simple mathematica GUI, which includes several ...
2
votes
0answers
79 views

After editing a file Mathematica 10 interprets […]^2 as […(])^2

This is a very weird bug and I don't really know how to reproduce it, so I'll just copy-paste the whole code ...
2
votes
0answers
33 views

Data paste in piecewise table

How can I paste data copied from several lines into a piecewise table, without pasting it in a single cell?
2
votes
0answers
44 views

Implementation of Series function

I'm trying to evaluate the partial derivatives of some function F[x,y] at some point, i.e. ...
2
votes
0answers
51 views

Program file deleted while running

I have a program running for some time at one computer. Today, unintentionally, I edited the program file from another computer (I use Dropbox), and the program kept running. Trying to correct my ...
2
votes
0answers
96 views

Power::infy: error using FindFit

I have a 2D data to fit (the Airy type pattern from diffraction of Gaussian beam on the circular aperture). Please see the attached picture. I was going to use a function like ...
2
votes
0answers
71 views

An efficient way to merge a pair of 4d arrays of non regular length lists

Question I have two 4 dimensional non regular length lists of complex values. I have working code however it seems quite slow and I am not sure how I could improve this. Mathematically I am trying ...
2
votes
0answers
36 views

Is it possible to pass a “shared” integer in librarylink?

MTensor supports shared pass, where the argument can be modified in the library function and that modification can be seen in Mathematica side. Is it possible to do the same thing to a integer or ...
2
votes
0answers
54 views

Error when using EquationTrekker

I just got to know EquationTrakker because I need to do phase graphs for my classes. When I load it ...
2
votes
0answers
54 views

How to solve for exponents in an infinite product?

Say I have a power series, $f(x,y) \in 1 + x\mathbb{Z}[[x,y]]$ Then it admits a unique expansion $$f(x,y) = \prod_{i=1}^\infty \prod_{j=0}^\infty (1 - x^i y^j)^{n_{i,j}}$$ for some integers, $i, ...
2
votes
0answers
43 views

Two problems with NDSolve when using Method -> Projection

I tried to solve a system first order differential equations together with a constraint equation. I use the Method -> Projection to check if the constraint holds ...
2
votes
0answers
45 views

How to expand set of fonts for mathkernel.exe?

If I am running standard Mathematica and I am choosing from the menu Format->Font, I've got everything I need. All necessary scripts are present (Western, Central European,etc.). Whereas If I run ...
2
votes
0answers
63 views

Gradient Filter Function

I am trying to understand EXACTLY what the GradientFilter function in Mathematica is doing. As far as I can tell, it appears to be doing a convolution of a first derivative of a Gaussian with the ...
2
votes
0answers
88 views

Result of symbolic integration changed drastically by making assumptions

I would like to know the underlying reason for different outcomes for the two integration operation below. One of them includes a few assumptions, otherwise both have the same integrand: ...
2
votes
0answers
58 views

Problem with hole filling using filledCurveToPolygons3D in MMA 10

I successfully used the filledCurveToPolygons3D function to create Graphics3D text in MMA 9 on a Windows 7 PC; see: How can I ...
2
votes
0answers
79 views

OpenCL vs. CUDA with Mathematica

I am thinking about using GPU programming with Mathematica using a MacBook Pro with a NVIDIA GPU. At this page, the Mathematica documentation says "Programming OpenCL in the Wolfram Language is simple ...
2
votes
0answers
52 views

Functional-Style Fixed-Length Queue Object?

Following up on question Side-effecting an array in an association? and @Mr.Wizard's answer in there, I'm modernizing and tweaking Daniel Lichtblau's efficient queues and ran into a little roadblock. ...
2
votes
0answers
75 views

A problem about generating `[]` automatically

I have using the Wolfram Mathematica for two years.And I know the Mathematica has the operation Alt + ] that can generate []. ...
2
votes
0answers
48 views

EquationTrekker-like behavior for state space?

EquationTrekker is great for phase space plots, however I want to plot the results of $$\phi '(t)=-b \sin (\phi (t))+g \sin (\Phi (t)-\phi (t))+1\\\Phi '(t)=g y ...
2
votes
0answers
61 views

Determining the total illumination of a polygon

Is it possible to determine the total illumination of a particular polygon with the given light sources? I truly acknowledge that Mathematica is not supposed to do this modeling, but it is what ...
2
votes
0answers
40 views

How to copy text from InputField

The problem when you copy text from one InputFiled to another. Inserts in unnecessary places gap. For example copy the text "#bbb" (without the quotes) from one field to another get "# bbb" (without ...
2
votes
0answers
37 views

Is it possible to Compile the function with string argument?

As we can see from the Compile documentation, the typical arguments for Compile should be ...
2
votes
0answers
52 views

Download a notebook (or any type of file) from the cloud

Let us say that I have a Notebook in the Wolfram Programming Cloud called foo.nb. If I try CloudGet["foo.nb"], what I get back ...
2
votes
0answers
58 views

Adding an unused column creates an error in JoinAcross

I'd been having trouble using JoinAcross on two datasets. After going through the answers to my original question and fixing my code, I find I'm now having a ...
2
votes
0answers
32 views

Evaluating standard functions of general quaternions symbolically

Mathematica can easily compute exponentials and logarithms of concrete quaternions: ...
2
votes
0answers
49 views

Can a Mathematica Application be inside another Application?

The file structure of a simple MMA Application can have the form: MyApplication MyApplication.m SomeAuxiliarPack.m Kernel init.m Where ...
2
votes
0answers
43 views

silent soundnote and superimposing sound objects

In Mathematica 9, Soundnote[None] has zero duration if it is the last note in a Sound expression. For instance, the sound object ...
2
votes
0answers
41 views

Exporting BSplineSurface to STL

I have encountered some difficulties getting BSplineSurface to export to STL. The following code works and generates a triangulated polygon mesh from the NURBS ...
2
votes
0answers
80 views

Quartic equation

After using Solve I am choosing the physical root of my equation and dealing further with this root. However, when I am changing parameters using Manipulate, I clearly see not smooth behaviour. Is ...
2
votes
0answers
51 views

Maximizing Large Multivariable Function over Region with Parameter Constraints

Brand new Mathematica user here. I have a complicated function to maximize, and thought I would try software like Mathematica instead of taking derivatives by hand. I found some Mathematica ...
2
votes
0answers
95 views

Copy As PDF in MMA 10

Wondering if this is a known issue.. I usually export graphics and Grids using the Copy As PDF menu item. The results looked quite good in MMA 9 on Yosemite. However in MMA 10 on Yosemite, the PDF ...
2
votes
0answers
35 views

How to deploy a Manipulate object to the cloud that enables SynchronousUpdating?

Is it possible to deploy a Manipulate object in the cloud that enables the SynchronousUpdating, which response immediately ? For example, to make something like this in one of the Wolfram's blog
2
votes
0answers
52 views

Find where an error occurred in a bunch of command line scripts

I have been using my intuition to solve errors in my Mathematica scripts. But when calculations got more complex and I started getting errors involving code in more participating scripts (a script ...
2
votes
0answers
86 views

Convex optimization

I am playing with some Compressed Sensing (think single pixel camera) applications and would like to have a Mathematica equivalent of a Matlab package call Convex Optimization (CVX). Specifically, I ...
2
votes
0answers
60 views

Workarounds for a possible bug in the linearity of FourierTransform

This is somewhat similar to this question, except the problem I am encountering is to do with Fourier transforms of scalar multiples of functions and their derivatives. I wish to input ...

15 30 50 per page