Skip to main content
15-Moonstone
August 27, 2021
Solved

Why doesn't this plot?

  • August 27, 2021
  • 1 reply
  • 1821 views

I was evaluating two functions with columns of a matrix. They plotted fine, but when I multiplied them, the result did not (got an error). It eventually dawned on me to convert to index form and that worked fine. Why is this? Example is at the end of the worksheet.

Best answer by Werner_E

You have to use vectorization

Werner_E_0-1630102527471.png

Werner_E_1-1630102609912.png

 

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
August 27, 2021

You have to use vectorization

Werner_E_0-1630102527471.png

Werner_E_1-1630102609912.png

 

 

15-Moonstone
August 28, 2021

Aha! Thanks.