Community Profile

photo

GEETHA NANIAPPAN


Last seen: 2 years ago Active since 2021

Statistics

Content Feed

View by

Question


I am having error in this programme. i gave the call function also.
Nx=41;XL=0;XR=2*pi; dx=(XR-XL)/(Nx-1); for i=1:Nx XX(i)=XL+(i-1)*dx; end cfl=0.125;dt=cfl*dx^3;tlast=1; Nstep=tlast/dt...

2 years ago | 1 answer | 0

1

answer

Question


I am in basic level in MATLAB , In the code i got the error as unrecoganised function or variable
Nx=41;XL=0;XR=2*pi; dx=(XR-XL)/(Nx-1); for i=1:Nx XX(i)=XL+(i-1)*dx; end cfl=0.125;dt=cfl*dx^3;tlast=1; Nstep=tlast/dt...

2 years ago | 1 answer | 0

1

answer