For questions specific to version 8.x.x of Wolfram Mathematica, or not applicable to versions 7 or earlier. Dedicated Mathematica Stack Exchange site: https://mathematica.stackexchange.com/
Questions tagged [mathematica-8]
199 questions
3
votes
2 answers
Optimizing a large model - trying to exploit parallelism
I have a chunk of code I've been re-writing over the past week or so to get it running as quickly as possible.
The code is modeling a diffracted laser beam and its essence is a convolution of a 640*640 kernel over many 2D 1280*1280 slices - each…

Quantum_Oli
- 183
- 6
3
votes
4 answers
Plot different conditions & subjects at once in Mathematica
Please Consider :
Needs["ErrorBarPlots`"];
fixNumberF1F6 = {{{7.11`, 7.51`, 11.14`, 8.19`, 6.58`},
{2.14`, 2.33`,2.25`, 1.53`,1.71`}},
{{4.69`, 4.79`, 3.78,4.34`, 4.8`},
…

500
- 6,509
- 8
- 46
- 80
3
votes
1 answer
ScheduleTask in Mathematica, does it have any limit on time interval to use?
I am having a little bit of hard time understanding ScheduledTask[]. This was added in V 8.
On windows 7, 64 bit, using V 8.01, when I run the following code
dt = 0.01;
c = 0;
Dynamic[c]
task = CreateScheduledTask[c += 1, {dt,…

Nasser
- 12,849
- 6
- 52
- 104
3
votes
1 answer
How to set the Ticks on BodePlot?
I can't seem to be able to change the Ticks on BodePlot in Mathematica 8.
Clear[z]
hz = z/(z - 0.4) (*make up some transfer function *)
ts = 1;
tf = TransferFunctionModel[hz, z, SamplingPeriod -> ts];
scale = {{"Linear", "dB"},…

Nasser
- 12,849
- 6
- 52
- 104
3
votes
1 answer
Mathematica: Obtaining graphics primitives and directives
How do you obtain graphic primitives and directives from a Graphics object? Leonid Shifrin showed how to remove them in the post Mathematica: Removing graphics primitives. I tried applying something similar but I can't get what I want. Consider this…

jmlopez
- 4,853
- 4
- 40
- 74
3
votes
2 answers
Mathematica: Joining line segments
This is part one of my attempt to find an answer to my question wireframes in Mathematica.
Given a set of line segments how does one join two segments that are connected AND lie on the same line. For instance consider the line segments l1 = {(0,0),…

jmlopez
- 4,853
- 4
- 40
- 74
3
votes
1 answer
CUDAFunctionLoad in Mathematica - Indexing problem
I am trying to debug an index problem I am having on my CUDA machine
Cuda Machine Info:
{1->{Name->Tesla C2050,Clock Rate->1147000,Compute Capabilities->2.,GPU Overlap->1,Maximum Block Dimensions->{1024,1024,64},Maximum Grid…

krukrupol
- 51
- 4
3
votes
3 answers
Remove \text generated by TeXForm
I need to remove all \text generated by TeXForm in Mathematica.
What I am doing now is this:
MyTeXForm[a_]:=StringReplace[ToString[TeXForm[a]], "\\text" -> ""]
But the result keeps the braces, for example:
for a=fx,
the result of TeXForm[a] is…

Eleteroboltz
- 131
- 1
- 2
- 13
3
votes
0 answers
WSDL w. complex types and Mathematica 8
i'm trying to get Mathematica 8 to make use of a webservice i set up. However it refuses to and throws following error:
InstallService::typeschema: "The type schema cannot be found for ("xsd:ArrayOfString")."
The WSDL validates and works with other…

user871784
- 1,247
- 4
- 13
- 32
3
votes
2 answers
labeling different plots in the same graph in Mathematica 8
I have a question with labeling a plot in Mathematica. I will describe my problem.
I have a function like this.
y = 4 x / L + 2
I want to draw a graph of y vs. x. And also,I have
L={10,20,30,40}
When I write a code like below,
Plot[y, {x, 0,…

TMH
- 134
- 1
- 8
2
votes
2 answers
Mathematica Graph Editor?
I've got Mathematica 8 and I'm trying to use GraphEdit[] but I am finding it extremely annoying. For one thing, I can't figure out how to use its output to feed back to itself.
For instance, I create a simple graph using GraphEdit[] and get back…

Michael
- 9,060
- 14
- 61
- 123
2
votes
3 answers
Any efficient easy way to find the maximum list among N lists with the same length using Mathematica?
This question is a continuation of a previous thread to compare two lists with the same length:
Is there any efficient easy way to compare two lists with the same length with Mathematica?
Given two lists A={a1,a2,a3,...an} and B={b1,b2,b3,...bn}, I…

Osiris Xu
- 713
- 1
- 5
- 13
2
votes
1 answer
How to use AbsoluteOptions on BodePlot?
I am seeing another issue with BodePlot (new function in V 8.0). And I thought I ask here to see if someone can see something I am not seeing.
The normal way I know to extract options from an object such as a plot is to use AbsoluteOptions, like…

Nasser
- 12,849
- 6
- 52
- 104
2
votes
2 answers
Finding c compiler from mathematica
C compilers and mathematica.
Hi, I want to use the CUDA functionality in mathematica. However, it requires a working c compiler. I am usually a unix person but i have a windows copy of mathematica. I tried isntalling visual studio express and miniGW…

JohnKay
- 233
- 2
- 7
2
votes
2 answers
Not cropping BarChart when using Frame instead of Axes
I just found out that a BarChart may get cropped when using Frame rather than Axes.
Example:
data = {.2, .4, .6, 0., 0., 0.}
BarChart[data]
BarChart[data, Frame -> True, Axes -> False]
Is this a feature or a bug? If it is a feature, is there an…

Szabolcs
- 24,728
- 9
- 85
- 174