Tag Info

Hot answers tagged

6

I can reproduce this problem only if the Suggestions Bar is enabled. In this case DeleteMissing seems to mysteriously lose its definition. In[1]:= {$Version, $VersionNumber, $ReleaseNumber} Out[1]= {"10.0 for Mac OS X x86 (64-bit) (December 4, 2014)", 10., 2} In[2]:= a = {Missing[], 1, 2, 3} Out[2]= {Missing[], 1, 2, 3} In[3]:= DeleteMissing[a] Out[3]= ...


6

My initial answer was simply wrong. I now think this is a bug. Although a message may be expressly attached to the Symbol x using TagSet it is still not localized. (TagSet is superfluous but it helps make the point.) Block[{x}, x /: x::foo = "bar"; Message[x::foo]]; Messages[x] During evaluation of In[]:= x::foo: bar {HoldPattern[x::foo] :> ...


5

This seems to be a bug in .../SystemFiles/Components/MUnit/Kernel/Notebooks.m, probably somewhere in testOptionPatterns or whiteSpaceOrNone or somewhere there. Of course it is nearly impossible to efficiently parse any longer NotebookRead box structure with the Kernel pattern matcher, so I would always run test files from .mt files in Workbench, or, if you ...


4

This is a bug in the Mathematica FrontEnd that appears on systems running Mac OS X 10.10. The cause is a change, beginning with Yosemite, in the behavior of the API used to draw the popup arrow. The FrontEnd bug will be fixed in an upcoming release.


4

Thanks Mr.Wizard. I've filed a bug for this, #288440 if you have future correspondence with people inside the company about it...


3

I also consider this an inacceptable bug. Nevertheless I wanted to share a workaround which I think avoids the problem but is unfortunately a lot of effort to add to more complicated cases: CreateDocument[ DynamicModule[{x={500,500},lastValue}, Framed[ Slider[Dynamic[x[[1]]],{400,600}], ImageSize->Dynamic[ ...


3

This is yet another bug caused by the Suggestions Bar. Workaround: Go to Preferences... -> Interface, and uncheck "Show Suggestions Bar after last output". I can reproduce it on OS X, Mathematica 10.0.2, but not in version 9.0.1. Whenever I see that some people can reproduce a bug, some can't, I turn on the Suggestion Bar and check if it's the ...


3

As confirmed by WRI, it is a bug, which is specific to Linux and which was introduced in version 10.0.2. No workaround known yet except for two possible recommendations, especially when it comes to plot labels: Avoid using commas or other short symbols like ":", ";" or maybe even "|". Try renaming your variables so that string sequences before the short ...


3

As @image_doctor notes in a comment, the problem occurs because the definition of Test`Private`fQ is not being distributed to the other kernels. DistributeDefinitions uses Language`ExtendedFullDefinition to determine which definitions to transmit. We can see this by evaluating the following expression: On[Language`ExtendedFullDefinition] ...


3

This is an extension to Szabolcs' answer. I would have explained it in 2nd comment to his answer, but it is a little too complicated to be a comment. There is another complication in regard to reproducing this problem. It is essential that the assignment a = {Missing[], 1, 2, 3} ; be evaluated before a DeleteMissing expression is successfully evaluated ...


2

Use Read[file, String] instead of ReadLine[file].


1

Did you try using assumptions? Using assumptions with version 10.0.0, I get the same results as with version 10.0.2 $Version "10.0 for Mac OS X x86 (64-bit) (June 29, 2014)" Clear[f] f[n_Integer] = Integrate[HermiteH[n, x]*Exp[-x^2], {x, 0, Infinity}, Assumptions -> {Element[n, Integers]}] (2^(-1 + n)*Sqrt[Pi])/Gamma[1 - n/2] ...


1

This seems to be a bug in Mathematica version 8, and it can be fixed by specifying the FrameTicks outside of BarChart using a Show wrapper: Show[BarChart[{1, 2, 3, 4}], Frame -> True, FrameTicks -> {{{1, 2, 3, 4}, {1, 2, 3, 4}}, {{1, 2, 3, 4}, {1, 2, 3,4}}}]


1

You can get output if you first approximate your system. You have a delayed control system there due to the E^(-2) in the numerator of the wp23 transfer function. So use this below. In addition, asking for Minimal state model allows you to solve for this specific input you have ClearAll[t, s]; in = 2 UnitStep[t - 20] - UnitStep[t - 500]; tMax = 100; time = ...



Only top voted, non community-wiki answers of a minimum length are eligible