Creating a weighted function array/vector
Afficher commentaires plus anciens
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 commentaire
Dyuman Joshi
le 8 Fév 2024
How would that vector be generated? Are the values random? Or is there a logic followed to obtain them?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Design Condition Indicators Interactively dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
