Borrar filtros
Borrar filtros

Difference between size '[:140 x 1]' and 'size [140 x 1]'

1 visualización (últimos 30 días)
Zac li
Zac li el 2 de Nov. de 2018
Respondida: Honglei Chen el 2 de Nov. de 2018
Diagnostics says:'Size mismatch. Input 2 expected value of size [:140 x 1]. Found size [140 x 1].'
what is the difference between '[:140 x 1]' and 'size [140 x 1]'?
  2 comentarios
madhan ravi
madhan ravi el 2 de Nov. de 2018
which toolbox ?
KSSV
KSSV el 2 de Nov. de 2018
Probably you should transpose the result and use as input.

Iniciar sesión para comentar.

Respuestas (1)

Honglei Chen
Honglei Chen el 2 de Nov. de 2018
I assume this is what you get in your code generation report? [:140x1] means that the signal is a column vector with an upper bound of 140 elements, i.e., it could change but has at most 140 elements. On the other hand, [140x1] means the column vector is fixed size with 140 elements in it. You can find more information in the following link
HTH

Categorías

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

Translated by