how to generate waveform graph?
    9 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    sing lai
 el 21 de Abr. de 2014
  
    
    
    
    
    Comentada: sing lai
 el 22 de Abr. de 2014
            Can anyone help me generate code to produce this waveform graph? This is wave equation that using finite difference method. Thank you very much for helping..

0 comentarios
Respuesta aceptada
  the cyclist
      
      
 el 21 de Abr. de 2014
        Here is a simple script that will plot the function sin(L*x). Perhaps you can adapt it to plot your function u(x,t):
L = 0.5;
x = 0 : 0.1 : 60;
u = sin(L*x);
figure
plot(x,u)
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


