Info

此问题已关闭。 请重新打开它进行编辑或回答。

previous good values calculations

1 次查看(过去 30 天)
Tiberius
Tiberius 2014-4-16
关闭: MATLAB Answer Bot 2021-8-20
Let's say I have x=[4.01 1004 1003 4.05 4.07 1899 1920] I want to change the big values according to the previous small value. For simplicity, let's say I want to apply a square and then add the big value. Thus, I'll have : y=[4.01 4.01*4.01+1004 4.01*4.01+1003 4.05 4.07 4.07*4.07+1889 4.07*4.07+1920 ].
If you want, let's say the small values are between 4 and 5 and the big ones between 1000 and 2000.
Thanks.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by