Nth root of a number in matlab-assignment problem

Which is the third way of finding the 15th root of the number in matlab?

Dear Mohanish,

Welcome to Learnvern! We are happy to serve you.

We hope our following reply serves your query well.

There are two ways to find out roots in Matlab

  1. Using ^ sign : if you want to find the 15th root of any number X you should write code like this: X^(1/15)
  2. Using nthroot command : if you want to find the 15th root of any number X you should write code like this: nthroot(X,15)

Mainly ^ sign is used for such operations.

Keep learning.

Does this answer your questions? Please give your feedback to our response.

Thanks and regards,
Devansh,
Team Learnvern.