Questions tagged [manipulate]

Questions on the Manipulate function of Mathematica, a function that allows the interactive manipulation of certain parameters in a Mathematica expression.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Split String after a Character [closed]

I want to split strings after "." a = {"this si theh jnfdkdkvd/. and then this is . and then this is. \ gjgjdjd. ugddjgd. ddngdjng."} in ...
0
votes
1answer
138 views
+50

How to construct an IF statement within `Manipulate` with various stopping statements

Take the following data: ...
0
votes
0answers
37 views

How to activate Manipulate controls

I have two notebooks NB1 and NB2. In NB2 I perform the following symbolic calculations: <...
0
votes
0answers
20 views

Initialize Global variables with manipulate

I would like to use the result from a dynamic matrix for calculation, but I don't know how to return a global variable from manipulate. Please help me, I'm new to mathematica. Any suggestion would be ...
0
votes
0answers
24 views

Create a dynamic growing list in Manipulate from data obtained by URLExcecute of API

I have a test API which sends me data from one or more tags in a SCADA/Historian system. For one tag, I refresh the API call every 5 seconds and generate a simple ListPlot[] of this single current ...
3
votes
2answers
178 views

How to link Manipulate to specific questions to activate sliders

I have the following multiplication Manipulate: Manipulate[ x*y, {x, 1, 10}, {y, 5, 15} ]; When you run ...
1
vote
0answers
48 views

Manipulate updates due to variable changes outside manipulate: can this be stopped?

I have created a large notebook where i have two or more manipulates whose execution is supposed to wait till I click an update button. The button operates a dummy update variable which is tracked in ...
0
votes
1answer
62 views

How to manipulate a system of equations

I have the following Manipulate[] working just fine. ...
2
votes
1answer
74 views

Question about Working with Lists / Tables

I have a data point set embedded in a manipulate. dtpts1a={{X,Y},{X,Y},{X,Y},{X,Y},{X,Y},{X,Y},{X,Y}, and so on and so forth, continuing} How do I alter, how do I change the magnitude of each ...
1
vote
1answer
44 views

Table does not give out any output while Animate or Manipulate work [closed]

I was playing with this program and I noticed that I can use Manipulate or Animate, but Table...
0
votes
1answer
73 views
1
vote
0answers
27 views

How to include a meter in Manipulate that shows a value calculated from the manipulate dynamic variable?

I'm trying to make a visualization of grid (representing magnetic states) and I want to include a meter that shows a variable calculated from the manipulate index (of the form ...
2
votes
1answer
30 views

Plotting eigenfunctions as functions of parameters in the hamiltonian

I'm finding eigenfunctions using NDEigensystem of various hamiltonians. For example, the hamiltonian with Shcrödinger's equation: $$ H u(x)=-\hbar^2 u''(x) + A x^2 u(x). $$ I would like to be able to ...
2
votes
3answers
58 views

Performing iterated integrals

I would like to define a function $f_n(x)$ and plot it with Manipulate. The function is defined by $$ f_{n+1}(x)=\frac{1}{\int_0^1(f_n(x'))^2dx'}\left(\int_0^xf_n(x'...
0
votes
0answers
57 views

Find a sublist with closest X and Y to a specific point in 3D

I have the following list of points and would like to know how I can find the sublist (i.e. point) which has a closest X and Y value to the X and Y value of a specific point (e.g here b1 ={{-20.6105, -...
2
votes
1answer
34 views

How do I use the Manipulate-function with GeoGraphics? [closed]

I'm trying to use the Manipulate function with GeoGraphics like so: ...
3
votes
1answer
57 views

Manipulate function [duplicate]

I'm trying to generate this simple graph using the Manipulate function f[x_] := a x + b x^2; Manipulate[Plot[f[x], {x, 0, 1}], {a, 0, 1}, {b, 0, 1}] However, ...
3
votes
1answer
81 views

Dividing a long code into parts

I have long code that I would like to divide in several parts (for readability) to be saved in different files. Then, later, I could use those parts into a different notebook. The parts I am thinking ...
0
votes
1answer
33 views

Manipulate: variable localization inside nested `Control`

Below is a piece of my code I have trouble with: ...
3
votes
1answer
77 views

How can I prevent TabView from resetting the current tab?

This is a simplification of a problem that has arisen in a project regarding Euclidean activities for verifying proportions via operations on pairs of magnitudes. In the project, the LocatorPane is ...
3
votes
1answer
64 views

Exporting a Manipulate/Animate with sound to create a Video

In the Documentation of Video (under Scope, 4th example) a Manipulation is combined with audio and exported as a file.mp4 video: ...
0
votes
0answers
28 views

Graphing with a special condition on the constant

My Attempt So Far Putting in Particular Values of our Parameters ...
2
votes
1answer
60 views

Listing numbers whose digit sum is greater or equal 5

I just started using Mathematica and at the moment I'm learning some things. As you can see in the headline, I want to make a list of numbers (up to 100) whose digit sum is greater or equal 5. I ...
0
votes
1answer
32 views

Blank plot is returned when trying to use Manipulate[Plot3D…] on the output function of NDSolve

I am currently trying to solve a transient cylindrical diffusion problem with space variable (r,z). Using NDSolve, I get a certain Interpolation function but I can't plot it no matter what I try. ...
1
vote
1answer
28 views

setting slider for multiple sets of manipulating variable Manipulate

I am working with data and using manipulate function. I have two sets of values in the manipulating variable list which I combine to form a single list. So, the increment which forms the first set won'...
-3
votes
1answer
27 views

sequential execution of a group of commands (subroutine like)

I have a set of data all formed via AppendTo and like to apply them synchronously and consecutively to a group of commands, much like a in a subroutine. The commands in that "subroutine" are not ...
0
votes
0answers
53 views

Using Manipulate with inequality constraint

I'm trying to manipulate the plot of the following function: ...
3
votes
1answer
51 views

About function with Manipulate and order of evaluation

I have many problems to understand how mathematica evaluates Manipulate[] when I use function before or inside Manipulate[] . ...
1
vote
1answer
21 views

Error when using limit of sum as parameter

Here is my code so far, which works when I set an upper limit for the sum in F: ...
0
votes
0answers
33 views

UI building, how to input an array of number in the Manipulate function?

I'm trying to build a simple financial app with Mathematica, i'm having problems with UI building (nothing fancy, it's just an hobby). Here is the code. The problem is with the Manipulate function, i ...
1
vote
1answer
27 views

Manipulating two graphics sets with the same variable

I have two graphics for a visualization that both depend on the same parameter (an angle). I'd like for both graphics to be controlled by the same slider, but I can't have the graphics overlay each ...
1
vote
1answer
70 views

Plot Point On StreamPlot

How would I go about plotting a single point in the $x,y$ plane given by; $$\left(\frac{\lambda d -b\mu}{ad-bc}, \frac{a \mu -c\lambda}{ad-bc} \right)$$ Where we can take $a,b,c,d,\mu$ to be positive ...
1
vote
2answers
36 views

Expand a slider only when a checkbox is checked and Animate for only once

I have a random walk and I created a checkbox for the animation of the walk. I want the checkbox to do the followings, but I have not found a solution yet: check the checkbox -> the slider of n ...
2
votes
1answer
26 views

RandomPrime inside Manipulate gets evaluated multiple times

Manipulate[ m = RandomPrime[d]; {m, d}, {d, {20, 50}, SetterBar} ] Basically, I expected the code to generate a random prime m (under the upper bound d) for me ...
3
votes
0answers
80 views

Create my own voice on Mathematica 12 [closed]

I want to create my own voice on Mathematica 12 and use it for this function SpeechSynthesize["Hello"] We can use theses voices on Mathematica ...
1
vote
0answers
52 views

How to get the coordinates of a 3d graph when I have two variables and a constant?

f[p_, q_, c_] := -p*Log2[p] -q*Log2[q] - (1 - p)*Log2[1 - p] - (1 - q)*Log2[1 - q] + (p*q + (1 - p)*(1 - q))*Log2[c] + (1 - p*q - (1 - p)*(1 - q))*Log2[1 - c] ...
0
votes
1answer
35 views

Module[Monitor[ … ]] doesn't work when called by Manipulate?

My example function progressFunction[time_] := Module[{t}, Monitor[For[t = 0, t <= time, t++, Pause[1]], ProgressIndicator[t, {0, time}]]] does ...
0
votes
1answer
39 views

Discontinuous plot when it should not be

I am trying to fix the plot in the manipulate to be continuous. I used Exclusion->None and adjusted the PlotPoints too. Nothing has worked so far. Could anybody help me to have a continuous plot? <...
0
votes
0answers
23 views

Dynamically fixing a Control within Manipulate

Consider the following code Manipulate[x, Control[{{y, 0, "y"}, {1, 0}}], Control[{{x, 0, "x"}, {1, 0}, Enabled -> Dynamic[y == 1]}]] where ...
5
votes
1answer
111 views

My first Mathematica project code review, Dodecahedron

I thought of a project to get my feet wet with Mathematica and have completed it. If anyone finds time to look at the code and send some feedback I would appreciate it. If it's inappropriate to ask ...
2
votes
2answers
40 views

How can I optimize the Manipulate function in plotting?

Ahoy! I'm trying to create a Fourier series visualization tool that allows me to interactively view a Fourier series as a function of the number of terms using ...
1
vote
3answers
72 views

Manipulate and parameters in NDSolve

I'm trying to use Manipulate to change some parameters in these differential equations, as follows: ...
3
votes
1answer
40 views

Generating Manipulate Controls for Indexed Variables

I would like to know a method to share variables between Manipulate environments. I understand that the variables used in controllers are a kind of local ones and ...
0
votes
0answers
37 views

Construct UI for image

I am trying to build the User interface, whereby when binarize is clicked, it gives its slider and its respective MeanIntensity and StandardDeviation. The same for EdgeDetect and MorpologicalBinarize. ...
0
votes
2answers
53 views

Inlcude binarize methods in Manipulate

I would require the binarize methods in the Manipulate interface. Thanks ...
0
votes
0answers
23 views

How to retrieve variables in the Manipulate's 'dynamic' controller environment

I'm trying to code to generate 'dynamic' controllers and to set initial values (initStart and initEnd): ...
1
vote
1answer
41 views

How do you use functions inside a Manipulate?

While modeling a falling object, the following code works fine: h[t_] = 10 - g*t^2/2; Manipulate[ Graphics3D[{Blue, Sphere[{0, 0, h[t]}, 2]} {t, 0, 6}] But if ...
0
votes
0answers
27 views

Finding intersections of points from more than two functions

How to find the intersections of points for more than two functions? Say I have f1, f2, and f3. I don't want to do : ...
3
votes
1answer
110 views

Missing pendulum snake patterns

Hello, I wanted to do a pendulum simulation and be able to replicate the patterns that are created by creating several pendulums at once. But for some reason after the first seconds, I cant see them. ...

1
2 3 4 5
33