How to reduce the vector length ?

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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by