how to write this equation in matlab

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

製品

リリース

R2020a

タグ

質問済み:

2020 年 12 月 19 日

コメント済み:

2022 年 7 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by