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?

 채택된 답변

Birdman
Birdman 2018년 3월 23일

1 개 추천

Replace the line
semilogy(f,c_1)
with
semilogy(f(1:numel(c_1)),c_1)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2018년 3월 23일

댓글:

2018년 3월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by