matrix multiplication with integral

2 vues (au cours des 30 derniers jours)
me
me le 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 commentaire
me
me le 18 Sep 2015
by the way i did but in a . when multiplying c and b

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 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!

Translated by