Questions tagged [initialization]
Questions about the usages of the various initialization files used by Mathematica. The most common ones are the init.m files that can be found in some Mathematica system folders and in a few specific user folders.
94 questions
2
votes
0
answers
88
views
$Assumptions set in init.m are reset back to True
I set $Assumptions to something in init.m. I followed it with printout to see that it was being set. However, once I get to my ...
2
votes
2
answers
143
views
Initialize notebook with docked cells
The way I most often use Mathematica is as the calculator in the background of my tutoring, and so often want to just clear all the variables. My standard practice is to just dock a button with the ...
0
votes
0
answers
91
views
Hiding input cells in presentation and ready to use output
I'm working on a notebook about Newton's method, but I'm struggling to get the layout as neat as I would like. I want to display only the output of my current code,
...
0
votes
0
answers
81
views
Solving system of coupled pdes with Neuman and Drichlet Bc
I am trying to solve a system of coupled PDEs. However, I have issues assigning initial and boundary values to the unknown field. I have checked and initial values satisfy the boundary conditions, and ...
5
votes
2
answers
229
views
Regarding phase space diagram/trajectory
I have a 3D chaotic system and its one 3D phase-space portrait and three 2D phase-space portrait (x-y plane, y-z plane, z-x plane) are given below.
...
1
vote
1
answer
206
views
Nonlinear experimental data fit without initial parameters
I am trying to fit correlation data into a non-linear model but it is not working. My data plot looks like this:
The equation I am using for fit is
The Mathematica script i am using looks like:
<...
0
votes
0
answers
52
views
InitializationCellEvaluation does not work
I have a notebook with a single cell that I want to start running when I launch open the notebook. I have,
formatted the cell as an initialization cell
In the Options Inspector, Selected "...
1
vote
1
answer
138
views
In a Notebook, How can I set every cell to be an Initialization cell?
At present, I do this by manually setting every cell in a notebook to be Initialization cell. There must be a better way!
When I finish work one day and re-open the notebook the next day, I want all ...
-3
votes
1
answer
134
views
differential wave equations [closed]
By seeking a solution of
∂u
∂t
= c
2
∂
2u
∂x
2
in the form u(x,t) = X(x)T(t), obtain and solve ordinary
differential equations satisfied by X(x) and T(t). Hence write down possible solutions for
u(x,t)...
1
vote
0
answers
148
views
How to restore LightGray Background to initialization cells?
I am running Mathematica 13.2.1 on a new MacBook Pro M2 with Ventura 13.2.1. I have done something that causes any initialization cells that I create or view to no longer have a LightGray background. ...
1
vote
1
answer
126
views
In Manipulate animation I can't have ResetButton and Play buttons
I want to add a separate reset button to this code besides using the bookmark button (Ver:11.2). I've tried everything in
"Reset" Button for Manipulate
and elsewhere but ResetButton ...
1
vote
0
answers
40
views
Hold around SetDelayed with Graphics [duplicate]
Minimum Working Example
I've defined my own plot function, which does a lot of stuff to the inputs before passing it into the Graphics function. Because of that, I'...
4
votes
1
answer
641
views
First initialization taking way too long
Pretty much everyday when I first bring up Mathematica, it takes a very long time. Subsequently, if I close it down and reopen, it is very quick. This is on my home computer (version 13.2), but the ...
0
votes
0
answers
51
views
Can I generated an initialization cell using CellPrint?
I want to do exactly what is done in this post, except I would like the generated cell to be an initialization cell. That is, I'd like to have my code automatically generate an input cell with new ...
1
vote
0
answers
66
views
What is the syntax for adding code, e.g. LinkWrite[...] to init.m? Version 12.0
I'm trying to use the suggestions for adding menu items discussed here: https://mathematica.stackexchange.com/a/909/44139
When I add ...
...