create vector that consists only of zeroes
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
hi,
I tried to create a vector that consists only of zeroes and tried the following:
error=zeroes(length(data13(:,1)))
but it didn't work. my goal is it, that the lenght of the error vector/ the number of elements in the vecotr is the same as in column one of the matrix data13
0 comentarios
Respuesta aceptada
Más respuestas (1)
Azzi Abdelmalek
el 19 de Abr. de 2013
Editada: Azzi Abdelmalek
el 19 de Abr. de 2013
It's not zeroes, it's zeros
error=zeros(length(data13(:,1)),1)
%or
zeros(size(data13,1),1)
2 comentarios
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!