Community Profile

photo

sing lai


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1
  • First Answer

View badges

Feeds

View by

Question


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...

nästan 10 år ago | 0 answers | 0

0

answers

Question


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 ...

nästan 10 år ago | 0 answers | 0

0

answers

Question


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...

nästan 10 år ago | 1 answer | 0

1

answer

Question


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...

nästan 10 år ago | 1 answer | 0

1

answer

Question


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(...

ungefär 10 år ago | 0 answers | 0

0

answers

Question


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...

ungefär 10 år ago | 0 answers | 0

0

answers

Question


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) ...

ungefär 10 år ago | 0 answers | 0

0

answers

Question


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) =...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


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...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


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...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


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...

ungefär 10 år ago | 0 answers | 0

0

answers

Answered
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?

ungefär 10 år ago | 0

Question


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...

ungefär 10 år ago | 0 answers | 2

0

answers

Question


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...

ungefär 10 år ago | 0 answers | 1

0

answers