generate function from vectors
Show older comments
Write a fucntion file (name it Hello) fro the fucntion f(x) = x4 √(3x+5)/(x2+1)2.
The input to the fucntion is x and the output is f(x). Write the fucntion such that x can be a vector. Use the
fucntion to calculate.
a. f(x) for x=6.
b. f(x) for x=1,3 5,7,9 and 11
how i can write this ?
what i do is this
2 Comments
Muhammad Akmal Rafique
on 14 May 2020
darova
on 14 May 2020
Everything is ok except the dot (element wise operator)

Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!