t = linspace(0,2,100)x = linspace(0,10,100)U(t,x) = 10*sin(2*pi*(t-x/5))+2*sin(2*pi*(t+x/5))
MATLAB: What’s wrong with this script
matrices
Related Question
- Can someone help me with these 3D plots
- Keep getting this error and I cannot figure out why: Dimensions of arrays being concatenated are not consistent.
- I am trying to plot y=x^2sin(x), where x is from 0 to 2pi. I have defined x using the linspace command, but matlab does not agree with the (x.^2) part. Is there a concept I am missing
Best Answer