How do I plot this to display a spectrum?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to plot the intensity against wavenumber.
This is the intensity i believe:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145682/image.jpeg)
But i dont understand what's val(:,:,1) this runs till val(:,:,729)
and this is the wavenumber:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145683/image.jpeg)
and it runs from 1 to 729
i tried to plot x = wavenumber and y = ref_Raw and plot (x,y)
however it was reflected
??? Error using ==> plot Data may not have more than 2 dimensions
do need help with this!
thanks
댓글 수: 0
채택된 답변
추가 답변 (1개)
hithere
2014년 10월 11일
댓글 수: 3
Rick Rosson
2014년 10월 11일
No need to apologize. We are all still learning. When we stop learning, then it's time to throw in the towel!
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!