Find the Nth Root of a Given Number - MATLAB Cody - MATLAB Central

Problem 2376. Find the Nth Root of a Given Number

Difficulty:Rate

Find the Nth root of a given number x.

Examples

 x = 4096
 n = 4
 y = 8
 x = 625
 n = 5
 y = 3.6239

Solution Stats

76.21% Correct | 23.79% Incorrect
Last Solution submitted on Jun 13, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
1
2

Problem Recent Solvers322

Suggested Problems

More from this Author3

Community Treasure Hunt

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

Start Hunting!