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

조회 수: 15 (최근 30일)
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
dpb
dpb 2022년 10월 2일
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 2022년 10월 2일
@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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by