Feeds
提问
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...
10 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
10 years 前 | 0 个回答 | 0
0
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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(...
10 years 前 | 0 个回答 | 0
0
个回答提问
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...
10 years 前 | 0 个回答 | 0
0
个回答提问
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) ...
10 years 前 | 0 个回答 | 0
0
个回答提问
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) =...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 0 个回答 | 0
0
个回答已回答
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?
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?
10 years 前 | 0
提问
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...
10 years 前 | 0 个回答 | 2
0
个回答提问
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...
11 years 前 | 0 个回答 | 1