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

5 vues (au cours des 30 derniers jours)
Rajan
Rajan le 12 Sep 2012
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=..... ?
  1 commentaire
Yi Sui
Yi Sui le 12 Sep 2012
Just out of curiosity, in what case would you need this?

Connectez-vous pour commenter.

Réponse acceptée

Sean de Wolski
Sean de Wolski le 12 Sep 2012
a = zeros(0,1)
  3 commentaires
Rajan
Rajan le 12 Sep 2012
Thank you .

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by