interference b/w two sine wave error.please please help..
Mostrar comentarios más antiguos
x = [0:.1:5];
w=1;
t=2;
lm=233*10^-9;
k=2*pi/lm;
f1=sin(k*x-w*t);
f2=sin(k*x-w*t);
f=f1+f2;
plot(x,f);
There is an output.i dont know this is wrong or right.but the output should be periodic black and white lines.. I tried
onematrix=one(size(f));
om2d=onematrix.*f
imagesc(om2d)
colormap(gray)
but there is an error
??? Error using ==> mtimes
Inner matrix dimensions must agree.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Denoising and Compression en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!