How can I write it correctly ???
显示 更早的评论
Hey everyone,

How can I write that index and argument in a root?
回答(1 个)
Y = 31 * ((1-X)./X) .^ (1/2.6)
or as long as every element of X is less than or equal to one:
Y = 31 * nthroot((1-X)./X, 2.6)
类别
在 帮助中心 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!