Creating a weighted function array/vector
Mostra commenti meno recenti
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 Commento
Dyuman Joshi
il 8 Feb 2024
How would that vector be generated? Are the values random? Or is there a logic followed to obtain them?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Design Condition Indicators Interactively in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
