How to plot the vectors having different length

9 次查看(过去 30 天)
hello, Error using semilogy/plot Vectors must be the same length. how do i plot with different length?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by