How to reduce the vector length ?

2 次查看(过去 30 天)
I need to either reduce or increse the vector length.
I have to Plot SNR vs PDf, but its not in the same vector length.
SNR has 1*991 double and PDF has 1*100 double
I want this to be equal to run the file.
If someone knows the solution for it, please reply it to me. I will be helpful.
Thanks.

采纳的回答

Image Analyst
Image Analyst 2013-3-21
Which of the 991 SNR values are associated with which of the 100 PDF values? If you know that, then you can use interp1() to fill in the 891 "missing" values.
  1 个评论
Mohamed
Mohamed 2013-3-21
编辑:Mohamed 2013-3-21
Actually its a column vector . Here first 100 values are associated with it.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Change Markers 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by