필터 지우기
필터 지우기

matrix, plot

조회 수: 4 (최근 30일)
Zied
Zied 2011년 9월 8일
I have two variables: a matrix of raw data [5 x 786,198], which represents 786,198 spectra (5 wavelengths) and a matrix [1 x 7667] which represents the reference of the spectra that I want to plot among the raw data. How can i do this?
Thanks

답변 (1개)

Sean de Wolski
Sean de Wolski 2011년 9월 8일
A = cumsum(rand(5,100)'); %5 channels
plot(A) %plot the 5 channels
hold on %hold the plot so it doesn't overwrite
plot(1:70); %plot a reference
Plot the 5 channels of the matrix and a reference vector.

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by