Developing and Assessing MATLAB Exercises for Active Concept Learning

Shenghui Song, Marco Antonelli, Tony W. K. Fung, Brandon D. Armstrong, Amy Chong, Albert Lo, Bertram E. Shi

Abstract: Engineering education relies heavily on "learning by doing," yet Massive Open Online Courses (MOOCs) often struggle to replicate the hands-on experience of a physical laboratory. This paper presents a systematic framework developed by researchers at the Hong Kong University of Science and Technology (HKUST) and MathWorks to bridge this pedagogical gap. By integrating interactive MATLAB exercises with automated grading, the framework fosters "active concept learning" in digital signal processing and communications, scaling experiential engineering education to thousands of online learners.

Introduction

The rise of MOOCs has democratized access to high-quality lectures, but technical disciplines like engineering require more than passive observation. The "pedagogical gap" in online education stems from the difficulty of providing high-touch, experiential environments. Specifically, technical integration of specialized software, the complexity of assessing open-ended code, and the potential for student frustration due to syntax errors present significant hurdles. To address these, the authors implemented a robust framework in the MOOC HKUSTx ELEC1200: A System View of Communications, focusing on logical outcomes rather than code syntax.

A Framework for Active Concept Learning

The core of the methodology is a multi-task decomposition approach that guides students through a logical progression from observation to implementation. Each lab is structured into three distinct phases:

  1. Overview Task: Students interact with a fully functional "black box" simulation to observe system behavior and signal flow.
  2. Implementation Task: Students write specific functional blocks (e.g., a "Text to Bits" converter). Crucially, the provided starter code is syntax-error free but logically incomplete, ensuring the "cognitive budget" is spent on engineering logic rather than debugging semicolons.
  3. Performance Evaluation: Students use their completed systems to run experiments, such as analyzing Bit Error Rates (BER) against signal-to-noise ratios.
System block diagram showing the decomposition of communication tasks into modular MATLAB functions.

Automated Assessment and Feedback

To scale these labs, the researchers developed an automated assessment logic that mimics a teaching assistant. Instead of line-by-line code checking, the grader script executes the student's submission and inspects the resulting MATLAB workspace. It verifies variable existence, properties (length/type), and numerical correctness within defined tolerances to account for floating-point errors.

The interaction workflow between the Learner PC and the MOOC Server, highlighting the submission and feedback loop.

The grader is designed to identify "known" common mistakes—such as reversed bit orders—and provide targeted feedback. This immediate, specific response allows students to self-correct and understand the underlying concepts more deeply. The paper also highlights how visualization serves as a debugger; students are encouraged to compare their generated plots with reference plots from the overview task for visual self-correction.

Implementation and Results

The framework was evaluated using data from the HKUSTx ELEC1200 course series on edX. Performance data from thousands of students showed consistently high achievement, with average scores typically exceeding 80%. Qualitative feedback from student surveys indicated high satisfaction, particularly with the clarity of error messages and the helpfulness of the interactive labs.

The study also compared two technical integration methods: a custom edX integration and the MathWorks LTI (Learning Tools Interoperability) Tool. The latter provided a more seamless, IDE-like experience, which correlated with higher student satisfaction and performance scores in later parts of the course. Students specifically praised the ability to resize coding areas and the improved clarity of the interface.

Conclusion and Future Work

The HKUST-MathWorks framework demonstrates that high-quality, hands-on engineering education can be successfully delivered at scale. By prioritizing conceptual understanding over syntactic perfection and providing robust automated feedback, the authors have created a model for active learning in digital environments.

Future work will focus on refining the assessment of complex, long-term simulations—such as network protocols with random packet loss—and conducting controlled studies to further isolate the impact of user interface design on learning outcomes versus subject matter difficulty.

Summary updated

BibTeX
@article{song2019developing,
  author = {Shenghui Song and Marco Antonelli and Tony W. K. Fung and Brandon D. Armstrong and Amy Chong and Albert Lo and Bertram E. Shi},
  title = {{Developing and Assessing MATLAB Exercises for Active Concept Learning}},
  journal = {IEEE Trans. Educ.},
  year = {2019},
  url = {https://openreview.net/forum?id=x8DS3J2455},
}
Figure