実数のn番目の実根
y=ntrhoot(x,n)
実数,スカラーまたはベクトル/行列
実数スカラーまたはベクトル/行列
nthroot(x,n) は,x要素のn番目の根の実数 ベクトル/行列です.xが負の要素を有する場合, nは奇数とする必要があります.
nthroot(x,n)
x
n
n がスカラーではない場合, 関数は要素毎に処理します.
nthroot(2, 3) nthroot(-2, 3) nthroot(-2, -3) nthroot(2, -3) nthroot([27 27], 3) nthroot([27 256], [3 4]) nthroot([27 256; 3125 46656], [3 4; 5 6])