defining variable in matlab
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
hi can i define a constant in matlab? if yes how can do that
thank u all
Antworten (2)
Azzi Abdelmalek
am 22 Feb. 2013
Bearbeitet: Azzi Abdelmalek
am 22 Feb. 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)
Nermeen alami
am 22 Feb. 2013
0 Stimmen
1 Kommentar
Image Analyst
am 23 Feb. 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.
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!