필터 지우기
필터 지우기

is the cosh(Hyperbolic cosine) wrong

조회 수: 3 (최근 30일)
cheng sy
cheng sy 2015년 6월 24일
편집: Stephen23 2015년 6월 24일
  댓글 수: 1
Stephen23
Stephen23 2015년 6월 24일
편집: Stephen23 2015년 6월 24일
@cheng sy: Please do not post screen-shots or images of text. By doing this you are making our lives harder: we cannot copy-and-paste the text to try it out, we cannot perform text searches, we cannot copy parts into our answer and change a few characters to show what needs to be fixed...
The harder you make it for us to test code or copy text, the harder it is for us to help you.
This forum lets you paste code and format it nicely using the {} Code button, or to upload larger text files and functions, so there is no reason why screen-shots are required to show us any text.
Please do not post text as images!

댓글을 달려면 로그인하십시오.

답변 (1개)

Martin Brown
Martin Brown 2015년 6월 24일
As it says in the help, cosh() operates element wise on an array, so it takes the cosh of each element separately. This seems to be verified by your answers as they're all close to 1 because all the elements of S are close to 0.
  댓글 수: 1
Stephen23
Stephen23 2015년 6월 24일
편집: Stephen23 2015년 6월 24일
Indeed, the cosh documentation's first sentence is "The cosh function operates element-wise on arrays."

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by