Creating a weighted function array/vector
显示 更早的评论
Hi,
I am trying to compute a time-dependent operation. for example no. of people taking the train in a day. I have a row vector with values that represent no. of. people taking the train each second of the day. The problem is the end result is a not very realistic because it doesn't factor in the working hours & peak transport hours.
So, I am trying to create a vector that would serve as a weighted function that assigns weights to certain each second of the day, say peak/non-peak hours.
I couldn't figure out a way to create this vector. Is someone aware of a way to generate such a vector or is there a built-in function to generate one?
Thanks in advance!
1 个评论
Dyuman Joshi
2024-2-8
How would that vector be generated? Are the values random? Or is there a logic followed to obtain them?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Design Condition Indicators Interactively 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
