0
votes
0answers
39 views

Resizing text with keyboard shortcuts in Mathematica 10

In Mathematica 10, it seems that the Alt+= and Alt+- shortcuts affect the entire cell instead of only the selected text. In the following example, I highlighted "line 2" and pressed Alt+= several ...
1
vote
1answer
207 views

Solving a System/Matrix of Equations in Matrix Form

Ok, I am trying to solve an equation involving matrices (well, tensors actually), which is of the form: $\mathbf{e}^{T} \cdot \mathbf{M} \cdot \mathbf{e}$ = $\mathbf{N}$, where $\mathbf{e}$ is an ...
5
votes
2answers
184 views

Inferring interest rate of a loan from payment

Be patient with me since this is my first post here. I don't know how to use the Math notation. I wish to compute the interest rate for an existing loan given the original loan amount, length of ...
8
votes
5answers
433 views

Is there a neat way to generate the odd set constraints matrix?

Given a undirected graph $G=(V,E)$, I am trying to generate a related matrix $M$, where columns are indexed by $E(G)$ and rows are indexed by all odd subsets of $V(G)$. I can finish this task using ...
6
votes
1answer
287 views

Sentiment analysis of tweets

I want to use Mathematica for a sentiment analysis on tweet-messages. For that purpose i selected several tweets. Each tweet is interpreted by myself as positive (pos) of negative (neg). For example: ...
3
votes
2answers
432 views

Plot: Show specific values in y axis

I need to plot a list of points and I am using ListLinePlot. Mathematica decides which values on the y axis are labeled. How can I show labels for the exact y ...
0
votes
0answers
291 views

Using NDSolve to solve a PDE with a Dirac Delta function

I'm trying to solve the following equation (in Mathematica 10): ...
3
votes
2answers
176 views

Convert matrix rows into variables

Can anyone show me how to set all matrix rows to variables. For example, I have matrix w={{1,2,3},{3,2,1},{0,0,0}} and I need to set each matrix row to be separate ...
4
votes
1answer
418 views

Mathematica exported movie quality

I am generating an animation using: anim = ListPlot[X]; Export["anim.mov", anim, ImageResolution -> 800, Antialiasing -> True]; The ...
3
votes
1answer
191 views

Multiple animation in Mathematica

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

Plotting a solution of DSolve

I am trying to plot a solution of a differential equation system. This is what I have: ...
1
vote
1answer
108 views

Mathematica doesn't know the answer to this 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: ...
3
votes
1answer
49 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 ...
2
votes
1answer
63 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?
1
vote
1answer
133 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 ...
4
votes
2answers
281 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
38 views

x86_64 Linux: plotting feature [duplicate]

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: ...
2
votes
2answers
107 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
164 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
248 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 ...
3
votes
1answer
80 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
108 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 ...
2
votes
3answers
109 views

Outputting numbers symbolically

Suppose I want Mathematica to output Table[2^n, {n, 1, 5}] Mathematica gives {2, 4, 8, 16, 32} but how can I get ...
5
votes
4answers
445 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: ...
5
votes
1answer
285 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
214 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
134 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.): ...
2
votes
1answer
119 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, ...
0
votes
0answers
36 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 ...
6
votes
1answer
142 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
1answer
223 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 ...
9
votes
5answers
476 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 ...
2
votes
0answers
120 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
121 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 ...
8
votes
2answers
312 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): ...
2
votes
1answer
826 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
274 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 ...
2
votes
2answers
59 views

Retain or delete parts of textstring in tweets

For a twitter analysis I collected many tweets. For example: ...
1
vote
1answer
102 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
229 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 ...
5
votes
3answers
923 views

Spherical parametric plot

How can I plot such a parametrized curve: $r = 2\cos t + \sin t$ $\theta = t$ $\phi = \sin 10t$ where $0<t<\pi/2$. In the documentation only has been discussed parametric plot in Cartesian ...
14
votes
2answers
1k views

Why PlotStyle->Dashed make everything dashed?

Bug introduced in 10.0.1 and fixed in 10.0.2 -- appears to affect Linux only. 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. ...
1
vote
1answer
115 views

Changing default behavior of Series to give slightly different SeriesData

I am working with complicated expressions expr that contains the symbolic function f[x] which I know to have a pole at ...
12
votes
1answer
703 views

How can one get rid of the “Template notebook” bar in Mathematica?

Alright, maybe I'm just really stupid. But I tried my damnedest to get rid of this stupid toolbar. I checked every menu and searched google for a solid 20 minutes. Eventually, I just copied the code ...
11
votes
5answers
1k views

How to deal with recursion formula in Mathematica?

In engineering problems, I am always seeing many recursion formula. For instance, In the book "The NURBS book", I discovered many recursion formula Fibonacci ...
7
votes
3answers
493 views

Add text after label in a Manipulate graphic

I can add the value of a slider to the right of it using the Appearance-->Labelled option, but what if I want to add text after the automatic label. How can I do that? Normally I want to do this to ...
2
votes
1answer
209 views

Definite Integral over Bessel Function

Hello I am interested in evaluating the following integral. ...
2
votes
2answers
159 views

Controlling PointSize in a RegionPlot

I have a "named" point in Mathematica 10 and am plotting it like this using RegionPlot: ...
25
votes
5answers
822 views

Show More Rows of Dataset

Dataset rather conveniently truncates the display of a dataset that has many rows. However, occasionally, I would like to show more of a dataset without having to ...
1
vote
0answers
160 views

Call Mathematica function From .NET

What is the easiest way to call a function defined in Mathematica from .NET? I have the following defined in my current local Mathematica session. ...

15 30 50 per page