How to reduce the vector length ?

1 view (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 21 Mar 2013
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 Comment
Mohamed
Mohamed on 21 Mar 2013
Edited: Mohamed on 21 Mar 2013
Actually its a column vector . Here first 100 values are associated with it.

Sign in to comment.

More Answers (0)

Categories

Find more on Change Markers in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!