# Questions tagged [conversion]

Questions on changing Mathematica expressions of one type or format to another, for example date formats, Boxes and other typesetting representations, or different units of measurements.

189 questions
Filter by
Sorted by
Tagged with
0answers
61 views

### Combine multiple ParametricPlot3D to export to stl file (w/o using Show[])

I have multiple ParametricPlot3D functions, that I am visualizing together using the Show[] operator. However, I cannot export this as an stl file Some of my functions: ...
4answers
241 views

1answer
54 views

### Convert numerical solution to RealDigits

It can be determined that Solve[Gamma[x] == 2*Sqrt[Pi], x] yields a solution of x as ...
2answers
241 views

### TeXForm handling of derivative higher than two

When the expression is only up to second derivative, TeXForm works correctly: ode = y''[x] == 0; TeXForm[ode] But when the ...
2answers
241 views

### How to define Normal for new “data types”

In Mathematica 9 and earlier, one of the points under "Details"/"More Information" section for the function Normal was (this is gone after version 10): I have ...
0answers
136 views

### Boxes in EPS output after PDF -> EPS conversion in Mathematica 11

When I used Mathematica 9, I used to Export to .eps using a .pdf Export, followed by import like the following: ...
1answer
3k views

### How to convert the Latex format to Mathematica input?

How to convert the Latex format to Mathematica input? For example, if I have a formula: $$\sum_{m_{i}=0}^M\sum_{n_{j}=0}^N \frac{(z_{i}/2)^{m_{i}}(z_{j}/2)^{n_{j}}}{m!n!}$$ in terms of Latex ...
1answer
270 views

### Integer to ordinal number string (words only)

I am trying to create a function that does: f (* "first" *) f (* "twentyseventh" *) f (* "fiftieth *) There need not be a hyphen or space in ...
3answers
223 views

### How to convert numbers to currency values?

I am trying to create a way to convert some values of numbers into currency (dollars). The example I display below takes in three random numbers between -4 and 4, and rounds them to the second decimal ...
1answer
267 views

### Conversion between Piecewise[] and Abs[] representations [duplicate]

Is there a utility in Mathematica that can convert between two representations of an expression? The simplest example I can think of is Abs[x] Which I'd like to ...
0answers
59 views

### Is there a substitute for the “Show” function to use within the Mathematica kernel?

I needed to implement a function to convert an object from Graphics3D to Image3D, basically a 3D version of rasterisation (I need the geometry in a discretised form). I used the method suggested by R....
1answer
154 views

### How to restore a Notebook saved as Package?

A Notebook I was working on was saved as "Package" (with the extension ".m"). Upon opening this file, everything is unreadable. How do I convert this file back to ...
1answer
484 views

### Circle to Hexagon Conversion [closed]

I have a set of circles defined by a Middlepoint and a radius e.g. Circle1: x = 10, y = 10, r = 3 Circle2: x = 15, y = 2, r = 10 etc... But I want to have them ...
1answer
736 views

### How to use an image as a number?

How to define an image as a number? for instance I want to do something like this where but there is an error massage ...
3answers
1k views

### Display grayscale image as 3d plot

How to build 3d plot of grayscale image where x,y - pixel coordinates, z - pixel intensity? I tried ListPlot3D[ImageData[image]], but ...