フィルターのクリア

fiting issue at certain value

1 回表示 (過去 30 日間)
Ayman Mounir
Ayman Mounir 2021 年 6 月 1 日
回答済み: Rik 2021 年 6 月 1 日
Hello everyone,
If i have an input value for example [ 0 100 200 300 400] and the corosponding output is [ 1 0.98 1.02 1.1 1.3 ]. I want the fitting function at input value 100 make output equals 1. in other words i want alway the output is equal or bigger than 1.
thanks in advance
Ayman

採用された回答

Rik
Rik 2021 年 6 月 1 日
You can either adjust your fitting function itself, or simply adjust the output:
max(1,[ 1 0.98 1.02 1.1 1.3 ])
ans = 1×5
1.0000 1.0000 1.0200 1.1000 1.3000

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeANOVA についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by