Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
defining variable in matlab
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi can i define a constant in matlab? if yes how can do that
thank u all
0 commentaires
Réponses (2)
Azzi Abdelmalek
le 22 Fév 2013
Modifié(e) : Azzi Abdelmalek
le 22 Fév 2013
You have not to define it in Matlab. You can pre-allocate
a=0
%or for a vector
a=zeros(10,1)
% or for a matrix
a=zeros(10)
0 commentaires
Nermeen alami
le 22 Fév 2013
1 commentaire
Image Analyst
le 23 Fév 2013
Mark it as "Accepted" then, as well as for any other questions you have posted. Also, your message here should have been a Comment to Azzi's Answer, not an Answer in itself.
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!