Timeline for How can I generate a large number of data points of a function and plot them?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 11, 2022 at 9:42 | comment | added | seeker | I invite you to my new question mathematica.stackexchange.com/questions/271948/… | |
Aug 11, 2022 at 8:59 | comment | added | seeker | The inequality $|x\pm y| \le |1\pm z|$ actually leads to four inequalities $z \ge x+y-1; ~z\le -x+y+1;~z\le x-y+1;~z \ge -x-y-1.$ | |
Aug 11, 2022 at 8:45 | comment | added | seeker | Thanks @H. Zhou, but Rom38's approach (with due respect to his expertise) seems hard to me. Could you incorporate this in your answer? | |
Aug 11, 2022 at 7:35 | comment | added | H. Zhou |
@seeker For this one I would use Select , in a similar way as that suggested by @Rom38.
|
|
Aug 10, 2022 at 19:08 | comment | added | seeker | Thanks, @H. Zhou, that works! However, I have a final constraint $|x \pm y| \le |1 \pm z|$ arising due to some physical reasons. How can I take this into account? Should I ask it as a new question? | |
Aug 9, 2022 at 9:11 | comment | added | H. Zhou | @seeker If you mean a linear relation between a_i's then I think you can first generate random numbers for a_{1,2,3,4}, then compute a5=1-a1-a2-a3-a4. | |
Aug 9, 2022 at 8:58 | comment | added | seeker | Thanks @H. Zhou. I have a similar situation where now in place of $a$, there is a set $a_1,a_2,a_3,a_4,a_5$ and they are real and also constrained to $\sum_{i=1}^{5} a_i = 1$. How to handle this situation? | |
Aug 8, 2022 at 20:04 | vote | accept | seeker | ||
S Aug 8, 2022 at 8:16 | review | First answers | |||
Aug 8, 2022 at 16:35 | |||||
S Aug 8, 2022 at 8:16 | history | answered | H. Zhou | CC BY-SA 4.0 |