Info

この質問は閉じられています。 編集または回答するには再度開いてください。

function that accepts vector

1 回表示 (過去 30 日間)
Rachel Dawn
Rachel Dawn 2018 年 2 月 23 日
編集済み: John D'Errico 2018 年 2 月 23 日
Can someone explain why I must use ".^" in the first function but then ".*" in the second? (for both to accept vectors and scalars) Why don't I use ".*" in the first?
f=(13/400)*(x.^3 - 30.876*x.^2 + 32.454*x + 99.89) g =(2*x.*exp(cos(6*x)).*exp(-x)) + 15
  1 件のコメント
John D'Errico
John D'Errico 2018 年 2 月 23 日
編集済み: John D'Errico 2018 年 2 月 23 日
You asked virtually this same question before. You got multiple people explaining it to you then. Read the responses you received there.

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by