How to make a matrix of all zeros be the same size as a data set being used?

16 visualizaciones (últimos 30 días)
I've been playing around with matlab for the last few hours and can't figure it out. I am using quiver and my x,y are staying the same and my v is staying the same just need to make my 'u' into a matrix of all zeros. I keep getting this error "Error using zeros Size vector should be a row vector with real elements." not sure what I am doing wrong. Thanks in advance for any help provided.
  1 comentario
James Tursa
James Tursa el 25 de Feb. de 2021
Please post the code you are currently using. It is hard for us to guess the errors you are making without seeing your code.

Iniciar sesión para comentar.

Respuesta aceptada

Bjorn Gustavsson
Bjorn Gustavsson el 25 de Feb. de 2021
Something like this:
u = zeros(size(v));
HTH

Más respuestas (0)

Categorías

Más información sobre Matched Filter and Ambiguity Function 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