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?

 Akzeptierte Antwort

Birdman
Birdman am 23 Mär. 2018
Replace the line
semilogy(f,c_1)
with
semilogy(f(1:numel(c_1)),c_1)

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 23 Mär. 2018

Kommentiert:

am 23 Mär. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by