66 views

### 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: ...
159 views

### 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 ...
• 1
1 vote
102 views

### 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 ...
1 vote
51 views

### 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 ...
• 449
62 views

### 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 ...
51 views

### 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 ...
• 101
34 views

### 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: ...
• 375
43 views

### 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 ...
• 695
1 vote
37 views

### 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 ...
• 763
37 views

### 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 ...
1 vote
36 views

### 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 ...
• 5,329
7k views

### 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 ...
• 19.1k
314 views

### 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. ...
• 2,470
160 views

### 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 ...
• 31.5k