Questions tagged [mathematica-8]

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/

199 questions
0
votes
0 answers

lambda in operation research or modelling

I see that in some models that use modelbuilder lambda in the objective function.as I have read about that could be a normalization rate. Is this true? How can this be calculated? as an example: is the basic model for stochastic program of…
iman
  • 1
0
votes
1 answer

pivot a group data summary

I have the following table in sql and I need to use data summary DEPARMENT JOB QUARTER ITEM Training null Q1 8 Support null Q2 4 Support null Q3 2 Research and Development null Q4 2 Support Account…
0
votes
2 answers

Filter & Manipulate CurrentImage []

Please consider the following (I am using Mathematica 8) : mask = DensityPlot[-Exp[-(x^2 + y^2)/5], {x, -4, 4}, {y, -3, 4}, Axes -> None, Frame -> None, Method -> {"ShrinkWrap" -> True}, ColorFunction -> GrayLevel, ImageSize ->…
500
  • 6,509
  • 8
  • 46
  • 80
0
votes
0 answers

How to solve this equation in mathematica?

$$ \partial_{t}{v}+\frac{( v \cdot \nabla) \cdot v }{ A}=-\frac{\nabla{p_{1}}}{ \rho_{0} A}-\frac{e\rho(v \times B)}{\rho A}--e(v \cdot \Omega)(B\cdot \nabla)v+(\frac{\nabla{p_{1}}}{\rho_{0}} \times \Omega) \cdot \nabla{v}-\frac{eE}{A}+-e^{2}(E…
0
votes
0 answers

Encrypting/decrypting text message using wolfram Mathematica language ECC

How can I use Wolfram Mathematica code's for ECC support to encrypt or decrypt an text message? I am unable to generate ECC private/public keys using wolfram Mathematica language, and I don't know how to encrypt text message using those keys.
0
votes
0 answers

computationally expensive Mathematica solver crashes

I am trying to solve a system of equations with 90 equations in mathematica: https://www.wolframcloud.com/obj/484bbb56-7b5e-4278-8730-902844c8ccdd Mathematica just refuses to run it after a while and it crashes. Does anyone have any tips or…
0
votes
1 answer

Making a histogram out of values from a table

I have defined a Mixed distribution made out of two Normal Distributions, like this MixDist[s_,n_]:=With[{Dist=MixtureDistribution[{.5,.5},{NormalDistribution[0,s],Normaldistribution[0.5s,s]}]},RandomVariate[Dist,n]] For example, MixDist[1,1000]…
0
votes
1 answer

How to calculate distance from center of a rectangle to sides of the convex hull after rotation?

Knowing the dimensions of the rectangle ABCD, how can we calculate the distances OE and OF after a rotation with an angle=α?
Mahfoud B.
  • 51
  • 1
  • 5
0
votes
1 answer

Show full calculation in Mathematica to copy into latex

I'm new to Mathematica I was hoping that this is a functionality built in. I am calculating the conditional entropy of a table and have the following 4 variables: a = 1/8*Log[(1/8)/(1/2)] + 1/16*Log[(1/16)/(1/2)] + 1/16*Log[(1/16)/(1/2)] +…
0
votes
1 answer

How to generate 6 points on the perimeter of the circle with mathemathica?

How to generate 6 points on the perimeter of the circle with mathemathica? The points should not be equally distributed. Thank you very much
Mary
  • 11
  • 2
0
votes
0 answers

Using LinearModelFit or Predict to attempt a multiple linear regression model in Mathematica

I'm using Mathematica for a project, in which I would like to fit a multiple linear regression model to my data (which is made up of both numerical and categorical variables). I have been trying to use the function LinearModelFit to do this, but I…
0
votes
2 answers

Next number in the sequence || General approach

how can I find the next number in this sequence , 1, 4, 7, 8, 13, 12, 9 , ? How to check , given any sequence of numbers , feasible or not. Any general theory or approach is very much welcomed .
0
votes
0 answers

Cleaning a data file to be read as only numbers in C++

I need to read with C++ a file with extension .wdx (Mathematica provided). I've been able to get the file as a .dat and .txt obtaining something like this minimal example (dummyValues.dat): {5.12, 0.1, 0.25} {{0.10, 4, 3, 2, 1, 1.44, 10.2}} …
Vicky
  • 105
  • 4
0
votes
1 answer

What is the MATLAB equivalent of Mathematica's Map?

The Mathematica code is as follows: In:Map[Function[x, x + 1], {1, 2, 3}] Out:{2, 3, 4} How can I use a similar method to realise this expression in MATLAB?
Mengr
  • 129
  • 5
0
votes
1 answer

How to use Resolve over custom domain

A = {1,2,3,4} ForAll[x, Element[A,x], x+1>0 ] Resolve[%] The above code gives me the following error: Unable to resolve the domain or region membership condition {1,2,3,4}[Element]x.