`clear all;f1=200;f2=250;a1=1;a2=1.5;fe=10e3;temps=0:1/fe:0.02-1/fe;m1=a1*sin(2*pi*f1*temps);m2=a2*sin(2*pi*f2*temps);mt=m1*m2;`

Error using *

Inner matrix dimensions must agree.

Skip to content# MATLAB: This message appears

###### Related Question

errorhelpMATLAB

`clear all;f1=200;f2=250;a1=1;a2=1.5;fe=10e3;temps=0:1/fe:0.02-1/fe;m1=a1*sin(2*pi*f1*temps);m2=a2*sin(2*pi*f2*temps);mt=m1*m2;`

Error using *

Inner matrix dimensions must agree.

- How to change time to amplitude in a spectrogram
- FFT function returns amplitude divided by 2
- What does the notation ( ‘ ) in the time sample t = (0:dt:0.002-dt) ‘ mean ??and thanks in advance
- FFT result does not stack up
- How to draw the tangent to a curve passing through the origin
- How to Normalize a fft to plot in frequency domain
- Loop becomes terminated after i=1 it is not continuing

## Best Answer