================================== Top new questions this week: ==================================
[Same region, different meshes] https://mathematica.stackexchange.com/questions/148210/same-region-different-meshes
I’m playing around with ToElementMesh and I noticed the following behaviour that puzzles me. Consider the two regions
<< NDSolve`FEM` 1 = Polygon[{{-1/2, -1}, {-1/2, 1}, {1/2, 1}, {1/2, ...
- asked by Massimo Ortolano (11 votes), answered by user21 (9 votes)
—————————-
[Rearrange the list in a specific way] https://mathematica.stackexchange.com/questions/147876/rearrange-the-list-in-a-specific-way
Suppose I have a list like {"e", "c", "a", "d", "b"} and list of rules {1 -> 5, 2 -> 3, 3 -> 1, 4 -> 4, 5 -> 2}. The second list says that for example element on position 1 shoud be on ...
- asked by David Baghdasaryan (11 votes), answered by Shadowray (16 votes)
—————————-
[Self contained APIFunction. Collecting definitions] https://mathematica.stackexchange.com/questions/148207/self-contained-apifunction-collecting-definitions
Cross posted on community.wolfram.com
Background
After failed attempt (1) to create a complex API, by nicely linking my APIFunction to a cloud based package, I decided to go with the flow and trust ...
- asked by Kuba (10 votes), answered by Leonid Shifrin (4 votes)
—————————-
[Substitute some 1s with 0s in random list] https://mathematica.stackexchange.com/questions/148134/substitute-some-1s-with-0s-in-random-list
How is it better to substitute list of random combination of 1 and 0 (binary image) so that only first (or central) instance of 1 left in each group.
list = 0,1,1,0,0,1,0,1,1,1,0 should be ...
- asked by io_tuta (9 votes), answered by Carl Woll (10 votes)
—————————-
[Pattern matching Association in rules] https://mathematica.stackexchange.com/questions/148074/pattern-matching-association-in-rules
I would appreciate an explanation of how Associations behave in pattern matching, especially when matching rules, and using HoldPattern.
Consider the following:
assocRuleList = {<||> :> ...
- asked by ZeitPolizei (9 votes), answered by WReach (7 votes)
—————————-
[How to combine Neural Network and Audio like Classify?] https://mathematica.stackexchange.com/questions/148158/how-to-combine-neural-network-and-audio-like-classify
I want to combine Audio object and Neural Network ,first thing I remember is Classify
windInstrument = ExampleData[{"Sound", #}] & /@ {"AltoFlute", "AltoSaxophone", "BassClarinet", "BassFlute", ...
- asked by partida (8 votes)
—————————-
[ROT13 and upside-down text (flip text)] https://mathematica.stackexchange.com/questions/147829/rot13-and-upside-down-text-flip-text
How can we transform text in order to achieve ROT13 and flip text using Wolfram Mathematica?
1. ROT13
2. Flip text
- asked by rhermans (8 votes), answered by rhermans (11 votes)
================================== Greatest hits from previous weeks: ==================================
[Mathematica 10.0.x freezes in Initializing kernels] https://mathematica.stackexchange.com/questions/92931/mathematica-10-0-x-freezes-in-initializing-kernels
Bug caused by paclet update and fixed by paclet update.
I updated to Windows 10 and have been running Mathematica fine on it for over a month. For some reason, it has just stopped working. I don’t ...
- asked by mitcheljh (73 votes), answered by ilian (94 votes)
—————————-
[1 Plot, 2 Scale/Axis] https://mathematica.stackexchange.com/questions/627/1-plot-2-scale-axis
I would like to plot those two datasets on top of each other. But they have very different range on the \(y\) axis. How can I have two different axis?
I found the following on the help menu but quite ...
- asked by 500 (115 votes), answered by ArgentoSapiens (110 votes)
================================== Can you answer these? ==================================
[How to improve the creation of tables of code and comments] https://mathematica.stackexchange.com/questions/148160/how-to-improve-the-creation-of-tables-of-code-and-comments
While writing a response to a certain MSE question I made a function that tabulates code and comments. (See the definition below.)
Here is an example:
code = " FoldList[(* reduction function *) ...
- asked by Anton Antonov (5 votes)
—————————-
[Export as HTML: Image of text is squished] https://mathematica.stackexchange.com/questions/147819/export-as-html-image-of-text-is-squished
When exporting a notebook to HTML, the notebook’s cells render as images, but the text is often squished. For example, this notebook:
... renders as
If I manually line-break the code, the ...
- asked by ConvexMartian (3 votes)
—————————-
[How to implement the same function use *Layer function?] https://mathematica.stackexchange.com/questions/148181/how-to-implement-the-same-function-use-layer-function
Reading YOLO method to detect object in the image(paper),I want to train this tiny-VOLO v1 on Mathematica,but the special loss function is very difficult to write.
Total loss is:
For brief,I use ...
- asked by partida (5 votes)