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

Tags

Community Treasure Hunt

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

Start Hunting!