How to plot the vectors having different length

3 visualizaciones (últimos 30 días)
Rexy
Rexy el 23 de Mzo. de 2018
Comentada: Birdman el 23 de Mzo. de 2018
hello, Error using semilogy/plot Vectors must be the same length. how do i plot with different length?

Respuesta aceptada

Birdman
Birdman el 23 de Mzo. de 2018
Replace the line
semilogy(f,c_1)
with
semilogy(f(1:numel(c_1)),c_1)
  2 comentarios
Rexy
Rexy el 23 de Mzo. de 2018
thanks.
Birdman
Birdman el 23 de Mzo. de 2018
You are welcome.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots 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