2
votes
0answers
24 views

Porting code from MATLAB

I'd like to switch from MATLAB to Mathematica for my research in digital signal processing. I used Mathematica a lot during the '90s but I haven't used it since then, so I might as well be a complete ...
1
vote
1answer
24 views

Automatically growing lists as in MATLAB?

Is there a way to add elements to a list at positions outside the current list's length? Something equivalent to the following MATLAB code snippet: ...
0
votes
1answer
26 views

How to input and output partitioned matrices that show partitions and compute as normal?

I want to demonstrate multiplication of partitioned matrices as in the example here. Using the Insert Menu, you can build a matrix and draw lines between rows and columns. However, I want to be able ...
17
votes
3answers
817 views

Highlighting individual countries on a world map

Consider the following list of countries which I would like to highlight on a world map: ...
0
votes
2answers
26 views

List of Coefficients of Expression with symbolic Terms

(I am affraid that this is a duplicate, but I read several already asked questions and non of them helped me. If it's already answered, please tell me) I have expressions like this ...
2
votes
1answer
46 views

ZTest result not making sense

I'm using version 10. I'm having difficulty with understanding why I'm getting some output from the ZTest function. Here is the code for my specific example. ...
2
votes
3answers
41 views

How to solve an integral equation by iteration method?

How I can obtain $n^{th}$ approximation of the following equation $f(t)=t+\int_0^tds f(s)$ by iteration method?
0
votes
1answer
63 views

Save state of buttons, sliders, listpicker in enterpriseCDF?

How do you make enterpriseCDFs save the state of buttons sliders, listpickers etc? I manipulated a CDF and saved it on exit but all the buttons etc were reset when I started it again. I've made a ...
0
votes
0answers
38 views

How do I use scale in a Manipulate comparing data points to a function?

Ladies and Gentlemen! I am wanting to use scale in the same way as Mister Trevor Cole in this most excellent manipulate at the Wolfram Demonstrations site: ...
1
vote
0answers
33 views

Solving PDEs with complicated boundary conditions

The system I'm trying to solve is $$\nabla^2 C_{(r,\theta)} =0$$ $$C_{(\infty,\theta)}=C_0$$ $$ [ \frac{\partial C_{(r,\theta)}}{\partial r} \cos(\theta)+\frac{1}{r}\frac{\partial ...
16
votes
2answers
343 views

Symbolic solution(s) to Heat equation/ Green functions to standard PDEs

Symbolic solution(s) to Heat equation? or more generally, Green functions to known PDEs I am interested in variations of the heat equation: I understand that Mathematica cannot provide a symbolic ...
-1
votes
1answer
28 views

Plotting vector field [on hold]

I am trying to plot the gradient vector field of the function: $$sin\sqrt{x^2+y^2}$$ This is my code: ...
9
votes
2answers
138 views

Controlling quality of discretized region meshes

I want to discretize 3D constructive solids, supported by Mathematica 10 regions functionality. Quality of resulting meshes must be controllable, and meshes must be useful for further computation. ...
1
vote
0answers
10 views

Mathlink program with low cpu usage on linux machines only

Question I am incorporating some c++ code via Mathlink into my simulations in Mathematica. My questions involves the execution efficiency of the c++ code on different machines. For example, on my ...
3
votes
2answers
68 views

Layers of Locators of Different Colors?

I am a Mathematica novice trying to do some interactive segmentation of microscopy images. I've been trying to understand and build upon some code from a previous StackExchange discussion (Can ...
0
votes
1answer
58 views

Fitting the graph

I want of plot the fit for the graph The Data for this graph is ...
3
votes
0answers
61 views

How to measure cross sectional area of Tube if center points are known

I have modified my question to a simple version. I have vertex clusters, polygons and a list of center points. Attached pts and polygons of 3d tube are: ...
0
votes
1answer
107 views

Plot3D unable to understand input function

I'm attempting to plot the Wigner Function of the Morse Oscillator defined as ...
0
votes
2answers
46 views

Eigenvectors inside a maniupulate function

I am trying to make a physics application and it requires that the eigenvectors be taken for a 3x3 matrix. It is my intention that Mathematica never have to deal with the matrices symbolically. ...
5
votes
1answer
206 views

Mma10 mystery: Failure of pure function substitution with Interpretation?

I had code to display with subscripts from Displaying index as subscript on output: e.g. C[i] -> C_i with Notation[...] or Interpretation[..]? which is now breaking an innocuous pure function ...
13
votes
3answers
525 views

How can I list all the 'countries 4000 km far from current location'?

A friend said to me on Facebook that she is 4000km away. So I want to try to guess where she is. How can I find which countries are a given distance from my current location?
2
votes
1answer
53 views

How to efficiently process pasted content from PDF

I had selected a matrix in a PDF file, and paste it onto my MMA notebook. Below is the exact copy-pasted content: ...
12
votes
1answer
293 views

What is the real default CellEvaluationFunction?

The default CellEvaluationFunction is Identity but one can quickly see that this is handled specially as an equivalent function, ...
2
votes
1answer
47 views

Set number of columns in text-based interface

Is it possible to set the number of columns in Mathematica's text-based interface? Or disable word wrapping in the text-based interface ? Specifically, my concern is output from ...
1
vote
0answers
32 views

Cellular Automata Neighborhood as Node connections

Can I use the CellularAutomation[] function where the neighborhood is defined by the connections between nodes? For example, if 1 -> 2, 1 -> 3, 1 -> 8, 1 ->1, then the neighborhood of node 1 is the ...
5
votes
1answer
171 views

Is there a list of Octave functions mapped to the related Mathematica one?

I am just wondering if there is a list of the related Mathematica functions that correspond to Octave functions. For example. ones(n) maps to ...
6
votes
2answers
289 views

How to get UV mapping of 3D tube

Here is cylinder data: file We can mesh the surface, thanks to lalmei, Belisarius and Simon (link) How to achieve uv mapping from a 3d straight and curved tube? Working code: ...
5
votes
2answers
127 views

How can I prevent a compiled function from using uncompiled evaluation?

I write a code that creates a compiled function, and then call that function over and over to generate a list. I run this code on a remote server via a batch job, and will run several instances of ...
-2
votes
1answer
36 views

Finding subset of integer range with smallest LCM [on hold]

Suppose you have a list of consecutive positive integers S = {N, N+1, …, N+M}. Given an integer 0
8
votes
4answers
655 views
0
votes
0answers
21 views

Replace parameter of NDSolve by a Function

I dont know how to replace the paremeter inside of an interpolation function result from NDSolve by a function of another parameter. This is it: I have a ...
8
votes
0answers
278 views

Are there tools for getting Mathematica 9 Notebooks working in Mathematica 10?

As often happens with Mathematica updates, nearly all of my notebooks no longer work as they did with the previous version. The upgrade from 9 to 10 has changed the appearance or introduced errors ...
2
votes
1answer
53 views
28
votes
4answers
2k views

Importing videos in Mathematica

Mathematica's Import command is purportedly able to import .AVI files. However, I find that many files that I want to import do only result in MMA showing a blank ...
2
votes
2answers
46 views

Why isn't Refresh working as expected?

This seems to me to be a very easy question, but I can't seem to figure it out. Instead of updating every 1 second, it auto-updates as quickly as possible. ...
24
votes
2answers
2k views

How to include Mathematica animation in a PowerPoint presentation?

Note: Cross-posted at Wolfram Community I want to include a Mathematica animation in PowerPoint presentation. My code is: ...
0
votes
1answer
46 views

Control which frontend session/kernel the Workbench gets attached to

(I am new to Workbench) I have 2 or 3 Mathematica frontend sessions open with a few of them running some long-running codes. When I try to open/edit a code in Workbench, I see that it sometimes it ...
2
votes
0answers
31 views

Is there a way to use video codecs for avi files in Mathematica?

I would like to use Mathematica to create compressed .avi video files from image sequences. I read the documentation on .avi but couldn't find a solution. In the documentation it says: ...
19
votes
2answers
587 views
+100

Mathematica 10 Notebook Fonts Look Bad

I've upgraded my home installation of Mathematica from version 9 to 10 today on a Windows 8.1 machine, and I'm getting a weird font issue - the fonts are not anti-aliased, and look unbalanced and ...
1
vote
0answers
44 views

Numerically solving a 2D oscillating integral

I'm having trouble solving this integral numerically: ...
2
votes
0answers
24 views

Custom WindowToolbar for my stylesheet

So I've noticed that some stylesheets (for instance Slideshow stylesheets) load a toolbar using the assignment WindowToolbars -> {"ToolbarName"} and I've been ...
0
votes
0answers
31 views

Import file using UNC [on hold]

I'm trying to import a file from a server that I do not have mapped. ...
4
votes
1answer
38 views

How to create a CDF “on the fly”?

I don't know if I have asked the question the right way: As CDF is essentially a simple text file, I would like to create it "on the fly" without saving it to the hard drive. I would like to give a ...
12
votes
4answers
364 views

HoldForm doesn't hold form

In Mathematica version 10, HoldForm no longer produces the same results as in version 8 (edit: I only have versions 10 and 8 installed, so can't compare to version ...
1
vote
1answer
38 views

A code deal with Lists operation ---Needs optimizion

I have written some code to deal with lists, But the speed of the code is slow, Could Someone help me to speed up it? Probably could rewrite it with Functional Programming! Give me some ideas! The ...
2
votes
1answer
48 views

Get the last line from from each of a large number of files, transform them, and write all results to a single new file

I have several hundreds of .csv files that are not logically named (contains numbers, characters, and special characters), all stored in a directory. Each file has large but unequal number of rows and ...
14
votes
1answer
327 views

Why do Arrowheads interfere with ImagePadding?

Bug still present in version 10 under Windows. In a recent posting, Belisarius solved a problem related to the display of arrows on the x and y axes by setting ...
3
votes
2answers
166 views

Where can I get detailed information on how the Plot command works?

The command Plot[x^2, {x, -3, 3}, PlotStyle -> Arrowheads[{-.025, .025}]] /.Line -> Arrow produces this output. What I don't understand is what ...
3
votes
1answer
42 views

how to create Dataset after importing txt file

I would like to translate a imported txt file to Dataset. ...

15 30 50 per page