how to write this equation in matlab

조회 수: 8 (최근 30일)
aqil hilman
aqil hilman 2020년 12월 19일
댓글: Voss 2022년 7월 3일
e^(3x) + sin(4x^2) + 1/(3x)
  댓글 수: 1
Rik
Rik 2020년 12월 19일
This is basic Matlab syntax. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).

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

채택된 답변

Manikanta Aditya
Manikanta Aditya 2022년 6월 20일
편집: Manikanta Aditya 2022년 6월 20일
Hi Aqil,
The equation can be written in MATLAB as follows:
exp(3*x) + sin(4*x^2) + 1/(3*x)
For clear understanding you can check the below link" which shows you how to add exponential equations:
  댓글 수: 1
Voss
Voss 2022년 7월 3일
And if you need to handle the case that x is non-scalar:
exp(3*x) + sin(4*x.^2) + 1./(3*x)

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by