How to plot the vectors having different length

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 Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Mzo. de 2018

Comentada:

el 23 de Mzo. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by