0
votes
1answer
17 views

SocialMediaData[“Facebook”, “FriendNetwork”] being returned unevaluated

When I typed the command SocialMediaData["Facebook", "FriendNetwork"] I got the output ...
-2
votes
0answers
15 views

How calculate the rest of the division 2/7 [migrated]

How can I calculate the rest of division about two / seven? According to this video (https://youtu.be/Nu-lW-Ifyec?t=113) the result of this division is two. But how can I know that? In calculator the ...
0
votes
0answers
10 views

How to compute the original sequence given a DTFT? [migrated]

Without directly performing an IDTFT, but by using the definition of the DTFT, how can one reverse the operation and compute the original input sequence producing a given DTFT? That is, Given ...
1
vote
1answer
26 views

LinearModelFit: Standard error or Standard error of the mean on the slope

I have generated some data points for y = 2x equation. Both x and y have SD of 1 using normal distribution. Now, I can fit the result with LinearModelFit. ...
0
votes
0answers
35 views

Can I make an array which varies with respect to 3 variables? [on hold]

Is there a way to have a function change based on different conditions? For example, let's say I have a function f[x_,y_,z_]:=f[z], where ...
1
vote
0answers
28 views

Graphics row/case number showing [on hold]

I want to draw scatter plot of two variables and showing the case number of on points of graph. and also multiple scatter graphs. Further these graphs are not disturbed on formatting their size. Dear ...
0
votes
0answers
20 views

Problem with solving an optimal control system with Shooting Method

I try to solve a system of differential equation by shooting method. I looked at questions asked on the site but I could not find that could help me. My functions are ; ...
3
votes
1answer
53 views

Is it possible to make a mathematica program which can be viewed online by anyone?

When I first learned about Mathematica online, I was very excited about it. However, it is not a free service, but a subscription similar to normal mathematica. Moreover, everything I look up about MO ...
1
vote
2answers
34 views

How do I find a polynomial in a field?

If I have a polynomial: $$f(x) = c_0 x^0 + c_1 x^1 + c_2 x^2 + \dots + c_n x^n$$ How can I find the polynomial, modulo a prime number $p$? In other words, I want to take all of the coefficients ...
0
votes
1answer
22 views

ArenaLib and WSM

The WSM documentation states that Typical tools for such purposes would include ARENA, and there exists also a Modelica implementation of that tool and modeling methodology, called the ARENALib. ...
0
votes
1answer
42 views

How to evaluate the integral of exponentials

I want to evaluate the following integral wrt $\phi$ from 0 to $2 \pi$: ...
1
vote
1answer
31 views

Replicate $\LaTeX$ PGF colormap/hot to Mathematica color scheme

I want to replicate the color scheme colormap/hot from $\LaTeX$ PGF's package pgfplots. The color scheme ...
1
vote
1answer
47 views

Plotting a two lists generated after running a for loop

So i had to model and solve a harmonic oscillator, being driven by a random driving force. I have managed to finish that and my program is: (PROGRAM STARTS HERE) ...
9
votes
1answer
206 views

How to report a bug in Mathematica

I found two bugs in Mathematica (10.3 and 10.1) and I need to report it. Is there any tools to do that or section on Wolfram website?
0
votes
0answers
20 views

Declaring functions in NDSolve ?

I have a simple enough series of coupled ODES, which is relatively easy to solve. It looks something like this. ...
2
votes
1answer
31 views

FindInstance skips solutions

I have an equation to compute the bit-error rate of a binary symmetric channel: $$P_{err}(n,p) = \sum_{k = \frac{n-1}{2} + 1}^n\binom n k p^k(1-p)^{n-k}$$ I then want to find the smallest ...
2
votes
2answers
34 views

Function for generically controlling 'Manipulate' parameters

I want to use a generic function to generate controls in manipulate, which looks like this: ...
0
votes
0answers
35 views

Mathematica Can Find the Primitive Function But It Cannot Find the Closed Form for Corresponding Definite Integral

Consider the following function f = 1/2 (-3 + 4 u) Sqrt[-u (1 + u) (-1 - u + u^2)] where it is assumed that ...
3
votes
1answer
155 views

Obtaining parametric equations through curvature and torsion

I wish to solve for the curvature and torsion functions $k_1 = \dfrac{1}{1+s^2}, k_2 = \dfrac{s}{1+s^2}$ using the Frenet Serret system and obtain the parametric equations for the curve. I need the ...
5
votes
0answers
42 views

How to use URLFetch for a https secure automated login?

( EDIT: Any example of a https secure login using certification keys using Mathematica will help. ) With Mathematica 10.3 on Windows 10 I want to use URLFetch to do a so called 'Non-interactive/Bot ...
2
votes
0answers
22 views

Getting CUDALink (Toolkit 7.5) to work on Linux, Mathematica 10.0.2, GTX750

I want to make use of some CUDA functionality on my machine. It is running Gentoo Linux (64bit), Mathematica 10.0.2 on an Intel Xeon E5-1620v3 with a Geforce GTX750. So everything on the hardware/OS ...
0
votes
0answers
51 views

Reproducing Mathematica's Nullspace basis within c++

Using the function NullSpace in Mathematica gives a basis that has very nice properties for my purposes; for example the vectors seem to be ordered with the last ...
11
votes
1answer
149 views

What governs images resizing in the FrontEnd environment

What is responsible for the middle Row images' size? And why single image row is different? ...
0
votes
0answers
41 views

Solving general system of equations [on hold]

I want to find the closed form solution to a general system of equations. The number of equations and variables is 'n'. How do I specify the system of equations? If I use Solve, I can solve a system ...
1
vote
1answer
85 views

How can I implement a moving standard deviation for a time series?

I imported the following dataset and converted it into a time series. ...
-1
votes
0answers
55 views

What is the imperative (or pseudo) code for this mathematica code?

I know Mathematica to be a powerful tool and it is impressive how much you can pack into a one line of code. I would like to use the following line, which I don't understand completely, in an ...
1
vote
0answers
40 views

Error when training support vector machine (SVM) classifier

I am running Classify function using a support vector machine model. I get an error that I can not fix. Here is my code. The data is imported from a file *.txt: ...
0
votes
0answers
81 views

Defining a function after doing several calculations inside [on hold]

These things are probably very well known but I am a bit confused. After spending a long time, I was able to perform an operation on a function. Let's call the function ...
3
votes
2answers
69 views

Setting WholeCellGroupOpener

When I write WholeCellGroupOpener, Mathematica autocompletes it, but it doesn't recognize it (it stays blue instead of turning black). Example: ...
3
votes
1answer
85 views

NDSolve for optimal control theory

For an optimal control problem, I need to solve a differential equation in which (a) the system is formulated according to a function and (b) initial/terminal conditions are discontinuous. Here is an ...
3
votes
1answer
82 views

How to reconstruct a given schematic picture from color image

There is a nice website on popular Economics with stylish picture. ...
0
votes
0answers
31 views

Selection of all the objects with the same style in a notebook [duplicate]

In a notebook, I would like to select all the cells with the "Text" style to change their style. How is possible to do this with a automatic process? For the moment I can do it only cell by cell.
1
vote
1answer
29 views

Button to close cells

I want to have a button that closes cells with a specific tag. The following code does what I want: ...
0
votes
1answer
79 views

Help on using Solve

I tried to use Solve to solve a set of nonlinear equations and got this error: Solve was unable to solve the system with inexact coefficients or the system ...
1
vote
0answers
80 views

NDSolve: Indeterminate expression 0. ComplexInfinity encountered?

The following code give errors that I don't understand. Could you please suggest a method to solve these differential equations? ...
0
votes
0answers
23 views

comments to a contributor of an answer [migrated]

How is it possible to alert a contributor of an answer of your post that you have answered to him ? In other words, to put his name in color in comments. I didn't find back the manipulation to this. ...
0
votes
0answers
7 views

Linear vs. bilinear [migrated]

I'm tripping over something elementary: Suppose $f:\mathbb{R^2}\rightarrow X$ is linear, then $f(x+y)=f(x)+f(y)$ for all vectors $x$ and $y$. Now suppose that $f$ is also bilinear and in particular ...
12
votes
4answers
777 views

Reproduce image effect in Mathematica

How do I create the "dotifying" effect below in Mathematica? I have tried to use Rasterize first to get the image pixelated, but how do I get the disc/circle ...
3
votes
1answer
62 views

Densityplot: isolines

I'm plotting a densityplot map from interpolated data. I need to draw lines in which the value of my function is constant (isolines), but to be constant is not the function itself but a manipulation: ...
25
votes
0answers
259 views

Why does Mathematica report that $\int_1^\infty\frac{\sin(\sqrt{x})}{\sqrt{x}}dx$ = $2\cos(1)$?

Bug introduced in 7.0 or earlier and persisting through 10.3.1 or later Mathematica 10 gives the following very odd result, ...
2
votes
1answer
43 views

Reading an exported List

I have exported a list of 2d coordinates as a List: Export["F:\\coordinates.dat", coordinates, "List"]; You can access the ...
4
votes
2answers
64 views

Specify range and reverse for colordata in contourplot

The following two examples work ...
1
vote
1answer
58 views

Double arrow in the outcome

Does anyone know how do I get rid of one of the double part at the start of the outcome rh-> rh-> ...
0
votes
0answers
43 views

NDSolve: problem due to boundary conditions

I am trying to solve a 2nd order ordinary linear differential equation (DE==0). Here is the code: ...
9
votes
1answer
838 views

Why is this 2D plot so slow?

I first do a 3D Plot of four surfaces (eigenvalues of a $4\times4$ matrix) over $kx,kz$ (setting $ky=0$ all along). And then I try to give a 2D plot along three connected particular lines in ...
0
votes
1answer
48 views

Issue with replacement rules screwing up a matrix [on hold]

I am pretty new to using Mathematica as more than a calculator. Essentially my problem is that I am trying to calculate a quantity vector quantity $x=x_0 - A^{-1}F(x_0)$ where $x_0$ is a 3-entry ...
3
votes
4answers
188 views

ParametricPlot3D for only part of a sphere

I want to plot the region of a sphere that satisfies the equation $$ \tan\theta\geq-\frac{z}{x\cos\phi + y\sin\phi} $$ where $x$, $y$, $z$ are my parameters. The spherical coordinates $\theta$ and ...
0
votes
1answer
52 views

Applying a formula to the data in several files [duplicate]

I am calculating with the depth data recorded in a number of files with extension .log. The depth data is like this and I loaded it by means of Mathematica: ...

15 30 50 per page