How to plot the vectors having different length

5 visualizzazioni (ultimi 30 giorni)
hello, Error using semilogy/plot Vectors must be the same length. how do i plot with different length?

Risposta accettata

Birdman
Birdman il 23 Mar 2018
Replace the line
semilogy(f,c_1)
with
semilogy(f(1:numel(c_1)),c_1)

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by