MATLAB: What is difference of these two

difference

D= {[d0,dn]}
D: {[d0,dn]}
please tell what is the difference between these two values

Best Answer

The first creates a cell. Inside the cell is a 1 by 2 numerical array.
I don't believe the second is valid MATLAB syntax.