Hello everyone,(adsbygoogle = window.adsbygoogle || []).push({});

I have for loop in Mathematica. After every step Mathematica has new results calculated. I want to see only some results, those who met certain conditions, not results from all steps. Say, I have 10000 steps and I don't need all 10000 results, but only those that met certain conditions. There are at least two or more conditions to be met. How can I tell Mathematica to print only those results?

So I want to tell this to Mathematic ain a for loop:

Ifais true andbis true orcis true anddis true, then print blablabla, else do nothing.

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Printing results if certain conditions are met in Mathematica

Loading...

Similar Threads for Printing results certain | Date |
---|---|

LaTeX Printing Code from Python in Latex via "minted" | Sep 7, 2017 |

Mathematica: Duplex Printing from button inside DialogNotebook on Mac | Jun 19, 2013 |

Printing only integer values for some equation using MATHEMATICA. | Sep 27, 2012 |

Printing Matlab figure as Eps | Aug 3, 2012 |

Mathematica: Printing Numeric Result | Jun 12, 2012 |

**Physics Forums - The Fusion of Science and Community**