Borrar filtros
Borrar filtros

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 visualización (últimos 30 días)
matrice=[m n];

Respuesta aceptada

Roger Stafford
Roger Stafford el 19 de Feb. de 2018
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 comentarios
Roger Stafford
Roger Stafford el 19 de Feb. de 2018
Is that a character string? If so, do this:
v2 = v(1:k);
That should give you a vector character string with the portion you want.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Signal Processing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by