How to get a variable assigned directly to Empty matrix: 0-by-1?

1 view (last 30 days)
If I type the variable name say 'a' in cmd window I should get
Empty matrix: 0-by-1
What should i assign to 'a' ??
a=..... ?

Accepted Answer

Sean de Wolski
Sean de Wolski on 12 Sep 2012
a = zeros(0,1)

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!