Reputation
1,354
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 23
Newest
 Excavator
Impact
~14k people reached

1d
comment How to convert this .txt data into a list of points
This is because for instance {"6.1101,17.592"} isn't a valid expression. You could either manipulate the strings to split them into something like {"6.1101","17.592"} and then use ToExpression. Or you could use SemanticImportString. This allows you to convert to whatever kind of expression you want (such as real numbers) and split strings at , at the same time
Feb
9
comment how to map a function on a variable list
@Ziofil you may want to edit your question and clarify what your goal is. The code from your question leads one to believe you want to count the number of entries in a list that are not equal to 1
Feb
9
comment how to map a function on a variable list
I would advise (not only in Mathematica) to avoid mutating state at all cost. As others have suggested better use Select and leave the original list intact or use Sow and Reap to build a list of results if you really have to do things iteratively.
Feb
9
comment Direct Pressure Data Acquisition with Mathematica and Arduino
If it is not too much trouble I would greatly appreciate it. I plan to play around with Arduino and some sensors in the near future too so if you don't find the time to do some testing I will do it eventually and post what I found as edit to your answer if you like.
Feb
7
comment Combinations of multiple matching patterns
@Berg see my updated answer, does this address your questions about the general nature of the approach?
Feb
4
comment Combinations of multiple matching patterns
+1 for the "contrived and questionable" method
Feb
4
comment Combinations of multiple matching patterns
This still leads to a massive amount of possible disjunctions that have to be manually addressed (and in the correct order) for the switch statement to work. Imagine not three fizzbuzz rules but a hundred
Feb
1
comment Direct Pressure Data Acquisition with Mathematica and Arduino
Have you tested performance i.e. how many samples you could capture per second?
Jan
31
comment Is there a way to find the values of x for a graph in a given area?
...is that mac os 7?
Jan
30
comment Cross product of three vectors
First of all you can't input a simple x-character and expect that to be the operator for cross product.
Jan
29
comment Using two rules for the same variable
@march I agree that this should be added in the common pitfalls thread, especially since this behavior of ReplaceAll is somewhat hidden in the "Details" section of the documentation
Jan
29
comment Using two rules for the same variable
@march is correct that ReplaceAll (/.) doesn't apply several rules to the same part of a given expression. For that case you want to use ReplaceRepeated (//.). In your case however this won't chance the output since x -> 3 changes x to be 3 so there is no more x for the second rule to match against
Jan
28
comment A pointer to the array in p1=Table in Table =p0 Eror
From the text of the question I don't expect anyone to be able to fathom what your actual question is. Also please try to boil down your code to a minimal working example
Jan
27
comment Morse Code Spacing
I would have added numbers and special characters to my lookup-table of morse codes but I couldn't convince W|A to reliably accept queries like WolframAlpha["morse code 1"]
Jan
27
comment Printing graphics files on a 3D printer
Also there is a question on advanced graphics here on mathematica.SE. One answer there includes this paper on 3D-printable-formats and mathematica
Jan
26
comment Creating a cloud of blocks that form I ♥ U in different viewpoints
btw.: your question seems a bit early for valentines day ;)
Jan
25
comment Weighted arithmetic mean
Is this question really about plotting so that you added the "plotting"-tag back to the question; if so you might want to edit/extend your question accordingly
Jan
25
comment How to transform the output of Minimize/Maximize into a function
Try using Set instead of SetDelayed for defining fm1 (fm1[l_, h_, d_] = First@Maximize[{f[l, h, d, a],...)
Jan
22
comment Manipulate coupled with QueueProperties
With Manipulate[] you generally want to have your expression being a function of the parameters that you want to manipulate. E.g. try \[ScriptCapitalQ][\[Lambda]_] := QueueingProcess[\[Lambda], 4.3, 1] and accordingly Manipulate[QueueProperties[\[ScriptCapitalQ][\[Lambda]]], {\[Lambda], 1, 4}]
Jan
22
comment Manipulate coupled with QueueProperties
I edited your question for you and added code formatting. To learn how to properly format your question yourself please have a look here