Mathematica count

  • Mathematica
  • Thread starter jemma
  • Start date
  • #1
36
0
Hi, I wondered if anyone can help. I have some linear equations in which I've found various possible solutions to the variables using NSolve function. For example, for x1, x2, x3 and x4, it has given me ~14 different possible combinations for each x. Is it possible to do a count so if the equations were run in a loop 1000 times, how often would a particular combination be reached?
 

Answers and Replies

  • #2
Dale
Mentor
Insights Author
2020 Award
31,186
7,879
I think that is the purpose of Sow and Reap, but I have never actually used them myself.
 

Related Threads on Mathematica count

Replies
2
Views
2K
Replies
3
Views
2K
Replies
0
Views
2K
Replies
1
Views
953
Replies
7
Views
21K
P
Replies
9
Views
2K
Replies
7
Views
3K
  • Last Post
Replies
1
Views
2K
Top