toggle percentual from matrix
1 次查看(过去 30 天)
显示 更早的评论
how toggle % from matrix?
per=5;
a=magic(4)
i want to toggle from each element per (5%)
0 个评论
采纳的回答
Star Strider
2023-9-30
Perhaps this —
per=5;
a=magic(4)
apr = a*(1-0.05) % 95% Of The Value
apr = a*0.05 % 5% Of The Value
.
4 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!