How to Save up the Values after Applying any code into a variable?
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/589972/image.png)
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
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!