photo

sing lai


Attivo dal 2014

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 1
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


How to plot 3D wire mesh plot?
I have a project that needed to plot this 3D mesh plot, can you help me generate code for this?thanks.. <</matlabcentral/an...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


how to generate waveform graoh u(x,t) versus number of oscillations?
I have a project that need to plot this graph using Matlab, and I'm a new user for Matlab, can you help me to generate code for ...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


how to fix Index exceeds matrix dimensions?
L = 0.8;c=1;T=0.5; a = 0 :120; it0 = inline('0.2.*sin(x)','x'); M=80;N=50; dx=L/M;dt=T/N; for i = 1:M + 1, u(i,1) = it0...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


how to generate waveform graph?
Can anyone help me generate code to produce this waveform graph? This is wave equation that using finite difference method. Th...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


finite difference method, why the result is zero?
function [u,x,t] = wave(a,xf,T,it01,it02,i1t0,bx0,bxf,M,N) %solve a u_xx = u_tt for 0<=x<=xf, 0<=t<=T % Initial Condition: u(...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How to fix this error?
function [u,x,t] = wave(a,xf,T,f,i1t0,bx0,bxf,M,N) %solve a u_xx = u_tt for 0<=x<=xf, 0<=t<=T % Initial Condition: u(x,0) = i...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How to change initial condition?
ffunction [u,x,t] = wave(a,xf,T,it0,i1t0,bx0,bxf,M,N) %solve a u_xx = u_tt for 0<=x<=xf, 0<=t<=T % Initial Condition: u(x,0) ...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How to fix the error?
function [u,x,t] = wave(a,xf,T,it0,i1t0,bx0,bxf,M,N) %solve a u_xx = u_tt for 0<=x<=xf, 0<=t<=T % Initial Condition: u(x,0) =...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How to draw graph?
<</matlabcentral/answers/uploaded_files/8562/Untitled.png>> Anyone can help me generate Matlab code to draw a graph of x vers...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How to fix this error?
This is the code: dx = .01 ; % Spacing of points on string dt =.001 ; % Size of time step c = 1 ;% Speed of wave propa...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How to link the wave equation with guitar string
I am totally a new user of Matlab, and my final year project is requested to use Matlab, so I really need your help to answer my...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Risposto
Function to create a sound --> (Error: Too many Input Arguments?)
I try to use your code, but there is error in this line: freq=440*2^((keynum-49)/12) why?

oltre 10 anni fa | 0

Domanda


How do I conduct matlab code for 1D wave equation?
The picture below is my equation, I need the matlab to solce this equation using finite difference method, anyone can help me? T...

oltre 10 anni fa | 0 risposte | 2

0

risposte

Domanda


1D wave equation finite difference method [urgent]
dx = .01 ; % Spacing of points on string dt =.01 ; % Size of time step c = 1 ;% Speed of wave propagation L = 1 ;% Length...

oltre 10 anni fa | 0 risposte | 1

0

risposte