Linked Questions

4 votes
1 answer

How to persist in a notebook the result of an imported spreadsheet? [duplicate]

I create data table in my notebook by importing a excel spreadsheet using: ...
0 votes
0 answers

Save the data in mathematica [duplicate]

I have been calculated some expansions with NIntegrate and NDSolve in Mathematica and I have a lot of them. Because the calculation of these results takes hours, I want to save it in a file of ...
Dora's user avatar
  • 1
1 vote
2 answers

Remembering function definitions across sessions to avoid recalculation [duplicate]

I'm working with some large expressions and fourier transforms, which usually take a long time to compute. When I save my notebook with outputs to all my inputs, I'd like it to remember those ...
Ondra Janoška's user avatar
1 vote
1 answer

Printing data into a file inside the loop one by one [duplicate]

Suppose I have a simple loop dat=Table["i",{i,1,10}]; Now once the run is finished, I can store the data using ...
Abhijit Saha's user avatar
0 votes
1 answer

All definitions are cleared when I reopen my file [duplicate]

I just started getting into mathematica and have the problem that whenever I save and reopen my .nb file, all functions and variables are cleared and I need to shift+enter every cell again to continue ...
MegAmaNeo1's user avatar
0 votes
0 answers

How to properly manage the eigensystem of a matrix depending on parameters? [duplicate]

I am interested in studying the eigenvalues and eigenvectors of a 'large' matrix (say $1000\times1000$) that depends on two parameters $x$ and $y$. Let's refer to this matrix as ...
Elliot's user avatar
  • 101
0 votes
1 answer

Using Get with a few symbols to continue work in a later session [duplicate]

I have a notebook where I calculate integrals that take a long time to evaluate. Let's say that I assign each evaluation to a symbol: ...
tush's user avatar
  • 375
0 votes
0 answers

Saving remembered function when closing down notebook [duplicate]

I have functions defined to remember their values f[x_]:=f[x] I would like to be able to close a notebook without losing the computed values, what is the ...
Three Diag's user avatar
1 vote
0 answers

Creating a library of saved function values [duplicate]

I have a command of the form J[b,c,n] which outputs a list of complex numbers, obtained by using FindRoot. Some outputs take ...
math's user avatar
  • 763
0 votes
0 answers

How can I prevent functions and variables from being automatically cleared when I close Mathematica? [duplicate]

The following happens with every notebook I make: I define functions and variables. When I quit Mathematica and reopen the notebook, all of those definitions have been cleared. The functions and ...
nmehndir's user avatar
1 vote
0 answers

How to keep data/tables stored in Mathematica notebooks for use when reopening the notebook? [duplicate]

When we create a table in Mathematica, can we keep it stored in the Noteboook for use when we reopen the notebook? I know I can export to a CSV or other filetypes and import whenever I need and I know ...
Red Banana's user avatar
  • 5,329
53 votes
4 answers

Saving Mathematica kernel state?

If I save a notebook, I only save what I see. That is, if I close Mathematica and reopen the notebook later, all previous calculations are lost, except for those things I've output. Now I know that ...
celtschk's user avatar
  • 19.1k
11 votes
2 answers

Saving memoization to disk

I like using memoization (i.e. the construct myFunction[x_]:=myFunction[x]=...) when I have a heavy function that I need to re-evaluate on the same arguments. ...
Ziofil's user avatar
  • 2,470
12 votes
1 answer

How to implement a resumable Table?

Motivation (my sob stories) Too many times I've run a notebook for hours and then Mathematica crashes (FE or Kernel, mostly FE) and things are lost. I've made various attempts at custom solutions ...
M.R.'s user avatar
  • 31.5k
2 votes
1 answer

How to speed up the calculation of a multi-dimension matrix involving symbolic integral?

The following program succeeds in getting matrix CC, but it takes time badly, especially in the case varNumber becomes larger just as the following ...
likehust's user avatar
  • 693

15 30 50 per page