Effacer les filtres
Effacer les filtres

matrix, plot

4 vues (au cours des 30 derniers jours)
Zied
Zied le 8 Sep 2011
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

Réponses (1)

Sean de Wolski
Sean de Wolski le 8 Sep 2011
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by