1. Home
  2. /
  3. Matlab
  4. /
  5. Todo List

Todo List - Matlab Typing CST Test

Loading…

Todo List — Matlab Code

Adds and removes tasks from a todo list.

todos = {};

function addTask(task)
	global todos;
	todos{end+1} = task;
	disp(todos);
end

function removeTask(index)
	global todos;
	todos(index) = [];
	disp(todos);
end

% Simulate actions
addTask('Buy milk');
addTask('Write MATLAB code');
removeTask(1);

Matlab Language Guide

MATLAB (Matrix Laboratory) is a high-level, interpreted programming language and computing environment developed by MathWorks. It is optimized for numerical computation, data analysis, visualization, algorithm development, and simulation, making it widely used in engineering, scientific research, and applied mathematics.

Primary Use Cases

  • ▸Numerical computation and algorithm development
  • ▸Data analysis and visualization
  • ▸Signal, image, and video processing
  • ▸Control systems and simulations
  • ▸Machine learning and AI prototyping

Notable Features

  • ▸Interactive command-line interface
  • ▸Extensive mathematical and engineering toolboxes
  • ▸Built-in plotting and visualization
  • ▸Support for matrix and vector operations
  • ▸Integration with hardware and external languages

Origin & Creator

Developed by Cleve Moler in the late 1970s to provide easy access to LINPACK and EISPACK routines for matrix computation, later commercialized by MathWorks in 1984.

Industrial Note

MATLAB is widely used in academia, research labs, aerospace, automotive, robotics, finance, control systems, image processing, and machine learning applications.

More Matlab Typing Exercises

MATLAB Counter and Theme ToggleMATLAB Random Number GeneratorMATLAB Dice RollerMATLAB Countdown TimerMATLAB Prime CheckerMATLAB Temperature ConverterMATLAB Shopping CartMATLAB Name GreetingMATLAB Stopwatch

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher