67,513 reputation
5164380
bio website szhorvat.net/pelican/pages/…
location ND
age
visits member for 3 years, 2 months
seen 5 hours ago

contact details

Please do not write me with Q/A related questions. Post them on the site instead!

Visit Mathematica.SE


Mar
26
revised Strange result of an infinite sum
edited tags
Mar
26
comment Floating point arithmetic bug caused by Table[]
Related: mathematica.stackexchange.com/questions/22082/…
Mar
26
comment Floating point arithmetic bug caused by Table[]
Please never use the bugs tag when posting a question. It is meant to be added later only, when others confirm that it's a bug.
Mar
26
answered 3D Gamma function
Mar
25
awarded  Nice Answer
Mar
25
awarded  Good Question
Mar
24
comment Image3D with values outside of the range [0,1]
Image3D simply doesn't have this feature. It uses the standard range 0..1, and it's not meant for data storage. For your application it's likely better to keep the data in an array and think of Image3D as simply a visualization function. You can write your own function which Rescales the data to make it suitable for Image3D.
Mar
24
comment Why can I not replace a Dataset using a rule?
More precise it's due to the upvalue with ReplaceAll.
Mar
24
comment Can a whole Mathematica program be placed inside my functionMain?
The example C program you show compiles to an executable you can run. This doesn't compare with a Mathematica package. Packages are like libraries in C, you don't run them, you just use the functions they provide.
Mar
24
comment Can a whole Mathematica program be placed inside my functionMain?
I don't understand the question, probably because we have different preconceptions about what a "package" is. Mathematica packages contain functions. These functions are part of the package's own (hopefully) unique context. After you load the package, the package context is added to the $ContextPath and you can call the functions without writing the full name. What are you trying to achieve with this functionMain function?
Mar
24
comment Clicking phase plane with mouse
Not an answer, but have you seen EquationTrekker?
Mar
24
comment How to find out where an error occurs?
Instead of relying on the green box, I like to use the "Show Stack" button. This doesn't require the code to be present in the notebook, and can show the values of variables.
Mar
24
awarded  Nice Answer
Mar
23
revised Mathematica doesn't read .mat file
edited tags
Mar
23
comment Mathematica doesn't read .mat file
Updated my answer, it's a bug.
Mar
23
revised Mathematica doesn't read .mat file
added 5149 characters in body
Mar
23
answered Mathematica doesn't read .mat file
Mar
23
comment Mathematica doesn't read .mat file
Do you need the data extracted from this particular .mat file? MATLAB reads it. Do you have MATLAB?
Mar
22
comment How to simplify an expression with a radical sign nesting in a radical sign
RootReduce will give you a polynomial which has this number as a root. ToRadicals converts it back.
Mar
22
comment How to simplify an expression with a radical sign nesting in a radical sign
What output are you looking for? Which alternative/simpler form would you use for Sqrt[5 + Sqrt[5]]?