How do I plot this to display a spectrum?
    3 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    hithere
 el 11 de Oct. de 2014
  
    
    
    
    
    Comentada: Rick Rosson
    
 el 11 de Oct. de 2014
            I want to plot the intensity against wavenumber.
This is the intensity i believe:

But i dont understand what's val(:,:,1) this runs till val(:,:,729)
and this is the wavenumber:

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 comentarios
Respuesta aceptada
  Rick Rosson
    
 el 11 de Oct. de 2014
        x = wavenumber;
y = transpose(squeeze(ref_raw));
plot(x,y);
0 comentarios
Más respuestas (1)
  hithere
 el 11 de Oct. de 2014
        3 comentarios
  Rick Rosson
    
 el 11 de Oct. de 2014
				No need to apologize. We are all still learning. When we stop learning, then it's time to throw in the towel!
Ver también
Categorías
				Más información sobre Logical en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!