matrix multiplication with integral

2 views (last 30 days)
me
me on 18 Sep 2015
Answered: Walter Roberson on 18 Sep 2015
I am trying to multiply and integrate three functions a is 1x5 c is 5x18 b is 18x1
I keep puting it in matlab as a.*int(c*b,x,0,1)
it keeps saying Error using .* Matrix dimensions must agree.
  1 Comment
me
me on 18 Sep 2015
by the way i did but in a . when multiplying c and b

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 18 Sep 2015
a*int(c*b,x,0,1)
This assumes that one of b or c is a symbolic array that includes the symbol x.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!