フィルターのクリア

How to Save up the Values after Applying any code into a variable?

1 回表示 (過去 30 日間)
Shubham Lakhera
Shubham Lakhera 2021 年 4 月 20 日
編集済み: Shubham Lakhera 2021 年 4 月 20 日
i needed help with this code.
I have values of Turbidity in 'y'.
I want this code to Run these questions like, if Y (Turbidity) is less then 5 then save 1 in the output at all 600 vales where there is vale of Turbidity is less than 5.
Same if Turbidity is between 5 to 10 then, Run second conditions and save the value at places wherever Turbidity is from 5-10.
I can't figure out the saving up part.
  2 件のコメント
Stephen23
Stephen23 2021 年 4 月 20 日
What is out?
You should pay attention to the colors of strings (purple), because it seems unlikely that you want x = 1, etc. as text.
Shubham Lakhera
Shubham Lakhera 2021 年 4 月 20 日
編集済み: Shubham Lakhera 2021 年 4 月 20 日
I find it over the internet, i thought it will work to save the values. What i am trying to do, is i have various vales of a parameter named 'Turbidity'. I want this code to look at those all vales, apply the formula based on the range of the value. For example if Turbidity (y) is 9, the it should run the 2nd part & return the vales in 'x' as = y/5 meaning 1.8.

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by