• Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Special Offers
Business Intelligence Info
  • Business Intelligence
    • BI News and Info
    • Big Data
    • Mobile and Cloud
    • Self-Service BI
  • CRM
    • CRM News and Info
    • InfusionSoft
    • Microsoft Dynamics CRM
    • NetSuite
    • OnContact
    • Salesforce
    • Workbooks
  • Data Mining
    • Pentaho
    • Sisense
    • Tableau
    • TIBCO Spotfire
  • Data Warehousing
    • DWH News and Info
    • IBM DB2
    • Microsoft SQL Server
    • Oracle
    • Teradata
  • Predictive Analytics
    • FICO
    • KNIME
    • Mathematica
    • Matlab
    • Minitab
    • RapidMiner
    • Revolution
    • SAP
    • SAS/SPSS
  • Humor

Category Archives: Mathematica

Tooltip does not Label plotted variables

February 9, 2015   Mathematica
lmax=5.8;a=.804;
NDSolve[{PH'[l]==X[l]^2/a^3,PH[0]==0.,AR'[l]==Y[l] Cos[PH[l]],Y'[l]==Sin[PH[l]],Y[0]==0.,X'[l]==Cos[PH[l]],X[0]==0.,AR[0]==0},{PH,X,Y,AR},{l,0,lmax}];
{ph[u_],x[u_],y[u_],ar[u_]}={PH[u],X[u],Y[u],AR[u]}/.First[%];
ParametricPlot[{x[l],y[l]},{l,0,lmax}];
Plot[Tooltip[{ph[l],ar[l],  x  [l],y[l] }],{l,0,lmax}]

I prefer the Tootip to read labels ph,ar, x,y as named but not again echo the same “Interpolating Function” […]

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Recent Questions – Mathematica Stack Exchange

Read More

Tooltip does not Label plotted variables

February 9, 2015   Mathematica
lmax=5.8;a=.804;
NDSolve[{PH'[l]==X[l]^2/a^3,PH[0]==0.,AR'[l]==Y[l] Cos[PH[l]],Y'[l]==Sin[PH[l]],Y[0]==0.,X'[l]==Cos[PH[l]],X[0]==0.,AR[0]==0},{PH,X,Y,AR},{l,0,lmax}];
{ph[u_],x[u_],y[u_],ar[u_]}={PH[u],X[u],Y[u],AR[u]}/.First[%];
ParametricPlot[{x[l],y[l]},{l,0,lmax}];
Plot[Tooltip[{ph[l],ar[l],  x  [l],y[l] }],{l,0,lmax}]

I prefer the Tootip to read labels ph,ar, x,y as named but not again echo the same “Interpolating Function” […]

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Recent Questions – Mathematica Stack Exchange

Read More

Exclude elements from mapping

February 5, 2015   Mathematica

I have had this problem way too often and still have not found a solution, yet. The example is as follows:

numbers = Range[1, 50];
(numbers = Delete[numbers, 50 - #];
   #) & /@ numbers

Of course, this does not work as intended. The idea would be to get only the numbers from 1 to 25 as an output. But one cannot modify the part behind the /@. I am very aware of that. This shall only serve as an illustration of what I was hoping to find. Usually, the codes are more complex. But the problem remains the same: I want to exclude some elements from the mapping. But what elements I want to exclude is unclear during the initialization of the mapping.

So, my question is whether there is a known optimized solution to this problem. I have searched it but did not find anything.

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Recent Questions – Mathematica Stack Exchange

Read More

Exclude elements from mapping

February 5, 2015   Mathematica

I have had this problem way too often and still have not found a solution, yet. The example is as follows:

numbers = Range[1, 50];
(numbers = Delete[numbers, 50 - #];
   #) & /@ numbers

Of course, this does not work as intended. The idea would be to get only the numbers from 1 to 25 as an output. But one cannot modify the part behind the /@. I am very aware of that. This shall only serve as an illustration of what I was hoping to find. Usually, the codes are more complex. But the problem remains the same: I want to exclude some elements from the mapping. But what elements I want to exclude is unclear during the initialization of the mapping.

So, my question is whether there is a known optimized solution to this problem. I have searched it but did not find anything.

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Recent Questions – Mathematica Stack Exchange

Read More

Methods for producting alternating TickLabels in a Plot?

February 1, 2015   Mathematica

I am producing a plot which has alternating TickLabels. The ugly code I wrote to produce this was:

Ticks -> Table[{i, If[EvenQ[i], a, b]}, {i, Ceiling[#1], Floor[#2]}] &

Is there a shorter way to achieve this effect, perhaps using keywords like Automatic?

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Recent Questions – Mathematica Stack Exchange

Read More

Find the exact value of x-intercept [on hold]

January 28, 2015   Mathematica

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • “This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation.” – belisarius, Szabolcs, Leonid Shifrin, Michael E2, Mike Honeychurch

If this question can be reworded to fit the rules in the help center, please edit the question.

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Recent Questions – Mathematica Stack Exchange

Read More

Probability of multivariate normal being positive on each coordinate

January 24, 2015   Mathematica

How can I find the probability that each coordinate of a specified multivariate normal distribution is positive? I tried the following, which I believed should work

mu = {0, 0, 0};
sigma = {{2, 1, 1}, {1, 2, 1}, {1, 1, 2}};
Probability[
 x > 0 && y > 0 && z > 0, {x, y, z} \[Distributed] 
 MultinormalDistribution[mu, sigma]]

Unfortunately, for the output I just get the last line from the input (with mu and sigma replaced by their actual values). I don’t see where the problem could possibly be since the matrix is positive definite. If I replace it by the identity matrix everything works fine.

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Recent Questions – Mathematica Stack Exchange

Read More

Updating a GUI with ComboBox using GUIKit

January 19, 2015   Mathematica

Dear Mathematica users,

does anyone know how I can update my existing Gui window (made with GUIKit) by choosing different values of a ComboBox so that different and multiple TextFields etc appear depending on the current value of the ComboBox. The created TextFields should appear in the same window below the ComboBox and they should update once the value of the ComboBox is changed.

I appreciate any help

Thanks, Dennis

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Recent Questions – Mathematica Stack Exchange

Read More

Simplify power of KroneckerDelta

January 15, 2015   Mathematica

Don’t employ the simplification rule suggested in another proposed answer, since it will yield incorrect answers in many cases:

FullSimplify[KroneckerDelta[x, y]^2 f[x, y]/KroneckerDelta[x, y]]

(* f[x, y] KroneckerDelta[x, y] *)

Correct.

But if you apply the above rule:

rule = KroneckerDelta[x_, y_]^n_ /; n > 0 -> KroneckerDelta[x, y];

to the numerator and denomiator:

myg[x, y] = KroneckerDelta[x, y]^2 f[x, y];
myh[x, y] = KroneckerDelta[x, y];

as here,

mynewg[x, y] = myg[x, y] /. rule;
mynewh[x, y] = myh[x, y] /. rule;

then the original term becomes

FullSimplify[mynewg[x, y]/mynewh[x, y]]

(* f[x, y] *)

Incorrect.

In short: leave the powers of the KroneckerDelta unaltered.

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service – if this is your content and you’re reading it on someone else’s site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

Recent Questions – Mathematica Stack Exchange

Read More

VectorPlot3D – vectors starting at points

January 11, 2015   Mathematica

[unable to retrieve full-text content]

Normally the vectors in VectorPlot3D ar attached the middle. How to get them attached at the beginning (what is typical conventions in most textbooks) by use of VectorPlot3D ?

Recent Questions – Mathematica Stack Exchange

Read More
« Older posts
  • Recent Posts

    • THE UNIVERSE: A WONDROUS PLACE
    • 2020 ERP/CRM Software Blog Award Winners
    • Top 10 CRM Software Blog Posts in 2020
    • Database trends: Why you need a ledger database
    • Now get Mind Map View of your Dynamics 365 CRM Connections in a single view with latest Map My Relationships features!
  • Categories

  • Archives

    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • March 2020
    • February 2020
    • January 2020
    • December 2019
    • November 2019
    • October 2019
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • April 2019
    • March 2019
    • February 2019
    • January 2019
    • December 2018
    • November 2018
    • October 2018
    • September 2018
    • August 2018
    • July 2018
    • June 2018
    • May 2018
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    • October 2017
    • September 2017
    • August 2017
    • July 2017
    • June 2017
    • May 2017
    • April 2017
    • March 2017
    • February 2017
    • January 2017
    • December 2016
    • November 2016
    • October 2016
    • September 2016
    • August 2016
    • July 2016
    • June 2016
    • May 2016
    • April 2016
    • March 2016
    • February 2016
    • January 2016
    • December 2015
    • November 2015
    • October 2015
    • September 2015
    • August 2015
    • July 2015
    • June 2015
    • May 2015
    • April 2015
    • March 2015
    • February 2015
    • January 2015
    • December 2014
    • November 2014
© 2021 Business Intelligence Info
Power BI Training | G Com Solutions Limited