Does anyone know of a source to get practice problems (and solutions) for Matlab for loops/conditional statements?

15 visualizaciones (últimos 30 días)
I want to practice but there are only examples in tutorials of for loops.
I want a bunch of practice problems to go through and keep practicing until I finally understand conditional statement logic and associated syntax.
  5 comentarios
dpb
dpb el 2 de Oct. de 2022
Maybe there's a niche market awaiting... :)
I had no formal coding traiing of any sort other than one week of lecture practicing writing FORTRAN on coding forms in freshman INTRO TO NUCLEAR ENGINEERING back in the early 60s before we were dumped into the expectations of NE LAB I and the IBM 1620.
I doubt that such collections exist in any language although you may be able to find more problem sets for fodder for ideas from other languages.
I've not tried, perhaps a search through the Answers forum here for key words/tags on the subjects might uncover a spate or Q?. Those are generally obfuscated by the particulars as to not be great pedagogical tools, though, probably as a general rule.
Dyuman Joshi
Dyuman Joshi el 2 de Oct. de 2022
@Rania Hanna, as Walter mentions, Cody will be helpful. It has quite a good amount of problems where you can utilize loops, though it might be difficult to find them directly.
Using the keywords - loop, loops, for loop, while loop; might be helpful.
You can also go through some problem groups to find such problems

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by