필터 지우기
필터 지우기

HOW to write cos^2(t) in matlap

조회 수: 234 (최근 30일)
Saad Almalki
Saad Almalki 2020년 6월 18일
댓글: Walter Roberson 2022년 4월 1일
HOW to write cos^2(t) in matlap
  댓글 수: 2
pushpendra pratap singh
pushpendra pratap singh 2021년 12월 18일
cos(t).^2
Stephen23
Stephen23 2022년 4월 1일
1 - sin^2(t)

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

채택된 답변

madhan ravi
madhan ravi 2020년 6월 18일
편집: madhan ravi 2020년 6월 18일
t = 0:pi:2*pi;
cos(t).^2 % basic question , start with MATLAB Onramp course

추가 답변 (2개)

Brigid Welch
Brigid Welch 2022년 1월 19일
how to write cos(t)^2
  댓글 수: 1
Walter Roberson
Walter Roberson 2022년 1월 19일
If t is a scalar, then exactly like you wrote will work, cos(t)^2
If t is a vector or array, you will likely need cos(t).^2

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


Soledad Rodriguez
Soledad Rodriguez 2022년 4월 1일
yb = cos^2 (5x) / x^2
  댓글 수: 2
Torsten
Torsten 2022년 4월 1일
(cos(5*x)).^2./x.^2
Walter Roberson
Walter Roberson 2022년 4월 1일
Also cos(5*x).^2./x.^2 and (cos(5*x)./x).^2

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

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by