0
votes
0answers
2 views

Compile Function expecting more arguments

I'm trying to compile the following code. But I get an error because of the number of arguments. ...
0
votes
0answers
8 views

Mathematica exported movie quality

I am generating an animation using: anim = ListPlot[X] Export["anim.mov", anim, ImageResolution -> 800, Antialiasing -> True] The .mov file obtained this ...
1
vote
0answers
13 views

Multiple animation in Mathematica

I have the following in Mathematica: ...
0
votes
1answer
21 views

Plotting a solution of DSolve

I am trying to plot a solution of a differential equation system. This is what I have: ...
0
votes
0answers
16 views

ColorFunctionScaling

I am using ColorFunctionScaling in my plot but I don't want it to automatically make the min 0 and max 1. I want it to follow a fixed scale depending on height(or ...
-2
votes
0answers
25 views

Solve equation $cos^2(x)=0$ [on hold]

How should I tell mathematica to solve $cos^2(x)=0$ ? and possibly write its roots in $x=2k\pi+\alpha$ format ! Thanks
0
votes
0answers
16 views

Solving a little heavy differential equation system

I am having some trouble with solving a somewhat heavy differential equation system, which is consisted of 10 variables and other abstract parameters as follows: ...
1
vote
1answer
17 views

Where can I permanently modify Directory[]?

First I set SetDirectory["F:\\learning_mma"];Directory[](*ok,success*) and then I quite the kernel: Quit[] an then ...
1
vote
1answer
27 views

How to right adjust the output of a print statement

Suppose i want to print numbers in a loop/table For[n = 1, n < 31, n++, Print[BaseForm[n ,7]]] the output comes with numbers left adjusted. How Can I make them right adjusted?
0
votes
2answers
38 views

Is it possible to place a shape at each point in my array?

I have an array of points in 2D, I'd like to plot them marking each point with a square whose size and colour I can edit. I am sure that this is possible I am just new to mathematica and would greatly ...
0
votes
0answers
14 views

Disable cache and pop up

I have a nb file that I have been editing frequently in M 10, but no matter how many times I modify the file or edit the file in M 10 it doesn't seem to update its cache. Everytime I open the file I ...
3
votes
2answers
102 views

Mathematica Plot and Movie Problem

I have imported two .mat files from Matlab. One containing the x coordinates and another y of a curve at different instants. So the .mat files are matrix and each row belongs to coordinates at a given ...
1
vote
0answers
28 views

x86_64 Linux: plotting feature

Some features with V10.0.1.0 plotting under x86_64 Linux (xubuntu 12.04 & 14.04). I use ListPlot, but I also see this using other Plot functions. Generate some data: ...
0
votes
0answers
22 views

LegendMarkerSize value equivalent to special character size in LegendMarkers

I am trying to find the equivalent LegendMarkerSize value to the size specified for special characters when using LegendMarkers. So far I found LegendMarkerSize 14 generates symbols close to 22 set ...
2
votes
2answers
72 views

How to Plot a Series

I would like to plot f1[x_, n_] := Sum[Sin[(2 j - 1) x]/(2 j - 1), {j, 1, n}] on a single plot containing f1(x,50), f1(x,100), f1(x,1000), with three different ...
0
votes
0answers
59 views

Generate Matlab figure

I am currently working on a project. Because of lack of communication between my team mates and I, I did most of the work (and the graphical figures) in mathematica. Now, I have to pass all the ...
2
votes
1answer
51 views

Building up functions from data

Have a tricky Mathematica problem. I am trying to build up functions from data to automate my processes with a minimum of hardcoding. So let's say I have some data: ...
0
votes
1answer
25 views

Get all variables in an expression with Variables[]

"\[Phi]" <> "1"; Variables[%] Exp["\[Phi]" <> "1"]; Variables[%] Exp[Subscript[\[Phi], 1]]; Variables[%] Say I have lots of variables used for ...
0
votes
0answers
22 views

Solve won't find all solution sets when I plug parameter values in first

I am using Mathematica 7 & 9 Student Edition. I need to find what values of a make a function, fitnessGradient[a, i, j], ...
1
vote
2answers
51 views

Outputting numbers symbolically [on hold]

Suppose I want Mathematica to output Table[2^n, {n, 1, 5}] Mathematica gives {2, 4, 8, 16, 32} but how can I get ...
0
votes
1answer
32 views

How to use “Compile” function when argument is array of size 500? [on hold]

How to use "Compile" function when argument is array of size 500? The examples in the Mathematica help is just with one argument belonging to the real numbers. Any help would be appreciated. ;)
0
votes
0answers
26 views

Finding derivatives in a differential equation system

I have a differential equation system with 10 variables whose functional forms are: $\lambda_R = \alpha_0 + \alpha_1 P_R$ $E_R = \theta_0 + \theta_1 P_R$ $\lambda_X = \beta_0 + \beta_1 P_X$ $L_D = ...
-3
votes
1answer
47 views

Simplify/deduce an expression with partial derivatives to a certain form?

My deduction is a bit unique having partial derivatives: I haved deduced $q_w/(q_o+q_w)$ to Solution below. How would Mathematica do it? Is Simplify and FullSimplify commands that can be used in this ...
4
votes
3answers
179 views

Is there any way to assign multiple values?

I am looking for something like "byref" assignment in programming languages. Let's assume I have: x1=x2=....=xn if I want to change their values ( say to 3 ) I need to set all of them like: ...
3
votes
0answers
20 views

How to update bundled SQLite library (or driver?) in V10 for OS X

I've been using undocumented Database functions with Mathematica V9 to acces my SQLite database, which is a Firefox-generated database that contains cookies. ...
2
votes
1answer
39 views

Send message to Facebook into a secret group (not on user's wall)

Does someone know if Mathematica 10 allows to send messages to Facebook but not on the user's wall rather to a secret or closed group? I have an small application that reads some data from a web site ...
1
vote
1answer
39 views

Code for time derivative or time differential equation

I have three variables $X, Y, Z$ whose functional form is the following (I also have a function for $Z$ which is somewhat complicated but is not essential for my question here; so it is omitted.): ...
1
vote
1answer
74 views

Raising the dead (notebooks)

I have a notebook which has a lot of generated data (which I would rather not regenerate), and the kernel is dead. So, the question is, how do I recover the data in the notebook (I know it is there, ...
1
vote
1answer
58 views

finding eigenvectors of a n*n symbolic matrix

is it possible to find eigenvectors and eigenvalues of this matrix in mathematica?i have no idea about solution!please help... ...
0
votes
0answers
23 views

Strange style conversion indicator appeared when type “a Pre”

I got the following strange style conversion indicator when I was typing a Pre(character a and ...
5
votes
1answer
106 views

Where can I put my conditions?

I just learned in this answer that you can put conditions inside a With and thus use computed values in them, like this: ...
1
vote
0answers
27 views

How to regress negative log?

I made a regression using Linearmodelfit. The residual-fit plot showed that this was not a good approximation. Now I'm trying to use Nonlinearmodelfit. I assume my data to have a negative log look. ...
0
votes
0answers
25 views

ReplaceRepeated vs DownValues speed

I have to solve a problem by recursive substitution. I programmed it two different ways: using ReplaceRepeated and using ...
1
vote
1answer
27 views

Find maxima and minima of data like {time,value}

I have a list of time and values of the charge and discharge of a capacitor, and i want to separate in two list of {time,value of charge} , {time, value of discharge} I know there is a lot of the ...
4
votes
1answer
120 views

Calendar view outline

How to compute the outline of a calendar month like this D3 example. (D3 is a functional language built on JavaScript developed at Stanford and used by New York Times to deploy interactive ...
1
vote
0answers
31 views

Limited Opacity Levels in Image3D?

I'm trying to render a simple spherical distribution where the opacity varies with radius using Image3D. Unfortunately, the outcome is not very appealing, with ...
2
votes
1answer
37 views

Combine ImplicitRegion

I have a starting and a target set which I would like to represent via ImplicitRegion. I can evolve each point p of the starting ...
5
votes
2answers
220 views

Recursive partitioning: Is there a better way to do this?

Consider the following function, which recursively splits a list into equal length sublists (the length of the list is assumed to be a power of the second argument): ...
0
votes
0answers
30 views

Fitting a plane from a set of (x,y,z) values with uncertainties on 3 variables

I would like to fit a plane from a set of measurements (x,y,z) with uncertainties on the 3 variables. Currently I am using the command "LinearModelFit" that computes the best plane but I have a ...
2
votes
1answer
129 views

Plotting 3D Vector Field in one plane

I want to plot a vector field F={Fx, Fy, Fz}. However, I only want to plot it in one plane (say, z=0). When I use ...
1
vote
1answer
40 views

How to simplify symbolic matrix multiplication using the associativity of scalar multiplication?

My input is (2A).(3B). Is there a way to get 6A.B? All I could get back from Mathematica was ...
0
votes
0answers
42 views

ComplexExpand does not treat everything as real number

ComplexExpand does not treat everything as real number?? Please read the following simple example ...
0
votes
0answers
22 views

WhenEvent: forcing the solution to be non-negative for a system of coupled PDEs

I am newbie in Mathematica, but need to use and modify a code written by another person. The code is solving a system of coupled PDEs (reaction-diffusion system) using ...
0
votes
2answers
62 views

Select pairs of columns from an array of data [on hold]

I try to interpolate the first two columns of a seven-column file formatted as follows: ...
1
vote
2answers
37 views

Retain or delete parts of textstring in tweets

For a twitter analysis I collected many tweets. For example: ...
1
vote
1answer
67 views

How a novice user better understand the Q/A [duplicate]

A novice user reading Q/A here: I sometime need to just understand the syntax and meaning of commands exampled here. where is the best place to find it?
0
votes
1answer
50 views

Display solution of Solve without the arrow [on hold]

Is there a way to format Solve or something that I get the result of a calculation without the arrow, so if my result is like ...
0
votes
1answer
78 views

My Baum-Welch algorithm is very slow. Is it due to Mathematica?

I've also posted this question here, since I'm not sure which community is more adequate for this type of question. I've programmed imperatively the Baum-Welch algorithm for a 2 state hidden Markov ...
0
votes
2answers
50 views

Spherical parametric plot

How can I plot such a parametrized curve: $r = 2cost + sint$ $\theta = t$ $\phi = sin10t$ where $0<t<\pi/2$. In the documentation only has been discussed parametric plot in Cartesian ...
4
votes
1answer
63 views

Why PlotStyle->Dashed make everything dashed?

It has been really strange for me. I am not sure it's regression after v10.0.1, or something went wrong with my system. After running this simple code ...

15 30 50 per page