What is the difference between these two lines?

 Accepted Answer

clear a removes one variable with exact name a
clear a* removes all variables whose name begins with a

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!