Multiplications of functions in Matlab

  • Context: MATLAB 
  • Thread starter Thread starter mech-eng
  • Start date Start date
  • Tags Tags
    Functions Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
mech-eng
Messages
826
Reaction score
13
Hi. When I try to this multiplication: t=[0:0.02:1]; f=exp(-t)*sin(t)
Error using *
Inner matrix dimensions must agree.

in Matlab I take the error above and I can not also plot its graph by plot(x,y). Can somebody help me?
 
Physics news on Phys.org