how to write this equation in matlab

e^(3x) + sin(4x^2) + 1/(3x)

1 comentario

Rik
Rik el 19 de Dic. de 2020
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).

Iniciar sesión para comentar.

 Respuesta aceptada

Manikanta Aditya
Manikanta Aditya el 20 de Jun. de 2022
Editada: Manikanta Aditya el 20 de Jun. de 2022

0 votos

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 comentario

And if you need to handle the case that x is non-scalar:
exp(3*x) + sin(4*x.^2) + 1./(3*x)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Etiquetas

Preguntada:

el 19 de Dic. de 2020

Comentada:

el 3 de Jul. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by