The tag has no wiki summary.

learn more… | top users | synonyms

11
votes
3answers
199 views

Head of a MatrixForm expression?

An example in http://www-zeuthen.desy.de/theory/capp2005/Course/hahn/mathematica.pdf amounts to the following ...
11
votes
1answer
241 views

Infix form of PutAppend ( >>> ) does not work with variable

I'm new to Mathematica, so I suspect this question involves either a misunderstanding involving variables or the usage of >>>. On a webMathematica page ...
11
votes
2answers
426 views

Redirect of mathematica graphics output to another computer screen

I need send the result of my calculation to the screen connected to HDMI output as a full-screen image. As I understand, I need change the DisplayFunction to usage of certain OutputStream. Do anybody ...
10
votes
2answers
655 views

How to send output of Information[] command to a text file?

I am having little hard time sending output of Information[] command to a text file. related question How to write output to an external text file in addition to ...
10
votes
2answers
164 views

Can anyone explain this strange behavior of InputForm?

In Mathematica 9.0.0, when to display the input form of two numbers, I come across maybe a puny problem. In order to focus on the problem, I will put up a simplified version. ...
10
votes
3answers
322 views

Windows command line arguments, stdin & stdout

Is it possible to utilize all three: command line arguments, stdin, and stdout all at once in script for Windows? Unix is fairly easy, but I can't get the following to work with Windows. Using the ...
10
votes
4answers
525 views

Breaking up long equations in TeXForm

If I have a horrifically long expression and output it to TeX using TeXForm, I get a long equation which needs to be split up into multiple lines. But splitting it up manually can be quite cumbersome. ...
7
votes
3answers
264 views

Wrapping EventHandler by Table

I am making a grid on the screen. The grid is composed of different expressions. I want all of them to have a Gray background, which turns into a ...
7
votes
2answers
204 views

Behaviour of out (%%…%) with comments

Can please someone explain to me the diffrent behavior of this code (6 - 3); (5 - 3); (4 - 3); {%%%, %%, %} Out= {3, 2, 1} and this one ...
7
votes
3answers
509 views

Adding a label to an expression result

To make my notebook easier to read for non-Mathematica literate colleagues (myself included), I'd like to have the output from an assignment expression look somewhat more obvious. Normally an ...
7
votes
2answers
165 views

Can I Print to a different notebook? (within the context of the same kernel)

Please imagine a simple loop: For[i=1,i<=100,i++, Print[i]; ]; We can ask Print[] to output $(1,2,3,4,...)$ to a ...
6
votes
1answer
126 views

Can a field be used for both input and output (example: exchange rate calculator)

Suppose I want to build a simple currency converter like this one: The functionality is straightforward: enter an amount in any field box, it gets converted into other currencies whose fields are ...
5
votes
2answers
347 views

How to capture Print output

How can I capture output from Print from a function which does not leave the printed object as its final output, (and which I do not wish to edit)? E.g. ...
4
votes
3answers
174 views

Make equation size larger when using TraditionalForm

If I am using TraditionalForm, how do I make the output larger in size? I don't want to change the general font size of the GUI, just make the output of one expression larger. I tried: ...
4
votes
2answers
107 views

Is there a way to accelerate buffering to the screen

I have an application that does a bunch of small computations, mostly Table management, and logic around loops. It takes seconds to execute. However, when I turn on debug (a variable I set for ...
4
votes
1answer
69 views

How Unevaluated works Through its Attributes?

Check this example: ...
3
votes
2answers
252 views

Mathematica does not understand (R^3)^(1/3) is the same as R [closed]

In the output from a calculation in mathematica stands a/((R^3*c)^(1/3)), with c and a ...
3
votes
1answer
71 views

Show Full Output button broken for all large outputs

I use Mathematica 9.0.1.0 on Mac OS X 10.10.3. As an example of my issue, we can follow along with the example from the documentation page for $OutputSizeLimit. ...
3
votes
2answers
122 views

Trying to solve simultaneous equations based on format found on official website [closed]

$\def\1{x_1}\def\2{x_2}\def\3{x_3}\def\f{f(\1,\2,\3)}\def\bs{\bigskip}\def\b{\begin{pmatrix}}\def\e{ ...
3
votes
1answer
68 views

Print prints into the Messages notebook rather than into the evaluation notebook

Some time ago I noticed that the results of the evaluating the function Print[something] does not emerge in a new cell created in the notebook where the operation ...
3
votes
2answers
453 views

Deleting Print results

While playing around with $Pre and $Post I created this very annoying piece of code: ...
3
votes
1answer
86 views

Is it possible to print more than last line with Get (<<) without using Print commands?

I want to run my Mathematica scripts from the terminal and I want it to print lines like MATLAB would. That is, suppress output by ending a line with ;, and ...
3
votes
0answers
36 views

Out[x] not the same as assigned expression [duplicate]

There seems to be a difference in the way Mathematica assigns a value to a variable and the way it assigns a value to the next Out object. I don't understand why this is happening. For instance, take ...
3
votes
0answers
56 views

How can I append Mathematica variables to an output file preserving both names and values? [duplicate]

I have a Mathematica program that calculates a series of large vectors that I need to save for future reference (in addition to some scalar values). I want to save all these to a file, tagged by their ...
2
votes
3answers
2k views

Write a table to a file

I want to compute a multidimensional table in Mathematica and write it to an external file. Here is a simple example. I have three lists x, ...
2
votes
5answers
225 views

Making loop based off what I can say in words

I have a list of values a: {1,4,11,14} I want to print out values that satisfy b(1+a) = 0 mod 15 where b are the values from 0 to 14. The output I am wanting is ...
2
votes
2answers
107 views

Set all output to be of specific form

I want every output expression in a notebook to use //PowerExpand and also to format numbers as scientific. Is there a way to do this without explicitly calling ...
2
votes
1answer
62 views

How to get the content size (in pixels) of the output in an output cell?

How to get the content size (in pixels, width and height) of the output in an output cell?
2
votes
3answers
381 views

Outputting a fraction on one line with an oblique division sign

How can I make Mathematica output a fraction as x/2 as opposed to the x on top with a horizontal bar and ...
2
votes
1answer
343 views

How to use output from previous line in Plot? [duplicate]

Suppose, I want to solve a equation and want to obtain it's first root. In this case I've used In[1]=:Solve[b^2 + b*z + 1 == 0, b][[1]] This gives ...
2
votes
2answers
139 views

Use only exponents (no radicals) in output expressions

Radical symbols ($\sqrt{\,\,\,\,}$) are the devil. Is there any way to get mathematica to never use them, and instead express everything as an exponential? i.e. I want ...
2
votes
3answers
155 views

Function to preserve evaluation on display?

I'm looking for a function that applies the following behavior to an expression: -When the expression is given as the full input, or as part of a function that cannot be evaluated, it remains in ...
2
votes
2answers
84 views

how to remove Null's from output? [duplicate]

I'm a math enthusiast and I'm looking for examples of rare divisibilities, let's look at the following one: ...
2
votes
1answer
114 views

How to generate specific function using BSpline command/

I want to generate an approximation function that fits a curve to points. My goal is to obtain an actual formula. Is this possible with the BSpline function? Using the following code: ...
2
votes
1answer
84 views

How can I turn off generation of Dynamic elements by Histogram?

By default Histogram generates Graphics expression with embedded Dynamic constructs as can ...
2
votes
2answers
85 views

How can I get a Button to evaluate an expression containing Get? [duplicate]

I have problems making Button evaluate an input like this one: Button["Load", Get["/Users/simonlausen/Desktop/Input/ex1.mx"]] ...
2
votes
1answer
143 views

Write numbers to a file

I want create file with some text (and numbers). This is my code. ...
2
votes
1answer
84 views

Why can I edit only one character of the output of a Dynamic expression?

Try this: DynamicModule[{foo = \[Placeholder]}, foo] Note how we're able to edit the placeholder in the output, e.g. replace it with 42: ...
2
votes
1answer
86 views

File output and race conditions

Is it possible to know when Mathematica is done writing a file? I'm looking to automate something and I'm wanting to have Mathematica put it in a file using Put[], ...
2
votes
1answer
346 views

why mathematica outputs “TRUE” sometimes in outputs that are conditional to mean “in all other cases”?

consider this simple Input: Probability[g <= m && m <= -g + 1, {m, g} \[Distributed] UniformDistribution[{{0, 1}, {0, gg}}]] which generates a ...
1
vote
2answers
2k views

How to remove ConditionalExpression from output

I need define the function with parameter so I could directly generate a power series expansion. The problem is that in some cases ConditionalExpression appears in output. Here is my code: ...
1
vote
1answer
93 views

How to know at which point of a calculation I am while using Table

If I use a code of this type: Table[foo[i], {i, 0, 10}] Mathematica won't output anything until it is done: is it possible to know at which point of the ...
1
vote
1answer
132 views

What's wrong with my palindrome finding function?

I'm trying to find the palindromes in the dictionary, but my output isn't giving me all of them. I have this so far ...
1
vote
1answer
96 views

How to update Print-out “in place”?

I want to run an exhaustive search algorithm that will take several hours to finish, so I'd like to have it execute Print statement periodically, showing the ...
1
vote
1answer
43 views

What's the meaning of <<19>> in the result [closed]

Try the following: ...
1
vote
1answer
75 views

Output resets when after closing/reopening the file

I've been having an issue in a project I am working on for a demonstration that involves a manipulate containing buttons that influence local variables. In essence, the problem is demonstrated by this ...
1
vote
1answer
83 views

Retain original form of formatted equation [duplicate]

I am having trouble getting Mathematica to retain my original equation form. For example: As you can see, even though I use HoldForm, it still changes the style of my equation. Very frustrating.
1
vote
0answers
78 views

Long running time

I gave this data as input: ...
1
vote
0answers
113 views

Export multiple graphics into same file [closed]

I have a plot and a table that I am trying to plot in a single file together. I have a "working" example, but it is not perfect. I export a list, but it keeps the commas and brackets, that is the only ...
1
vote
0answers
27 views

Ignore $MinPrecision when using Print

I have a function that contains a For loop and sometimes takes several hours to run. It's important that I keep a high precision, and I insert ...