How do you create an m-file for the function

How do you create an m-file for the function f(x)=(tan(3x)-3x)/(x^3)

Answers (1)

Follow the instructions on this documentation page. However, that's a simple enough function that if you didn't want to create a separate file for it you could define it as an anonymous function.

Tags

Asked:

on 20 Apr 2020

Answered:

on 20 Apr 2020

Community Treasure Hunt

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

Start Hunting!