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