bonsoire a tous ,commet je peut définir la taille d'une matrice ou d'un vecteur ? je veut par exemple une latrice de taille [m n]sachant que cette code ne me permet pas de faire ce que je veut

1 次查看(过去 30 天)
matrice=[m n];

采纳的回答

Roger Stafford
Roger Stafford 2018-2-19
You can only do that if you assign values to every element of such a matrix. For example, you can set them all to zeros:
M = zeros(m,n);
or ones:
M = ones(m,n);
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by