How to make a detaset with uniform interval.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I have a vector with dimensions say t with dimensions 1*553. However, the interval between t values is not constant. like if t(2) - t(1) = 0.00012671 and t(4) - t(2) = 0.0001268. How I can make this interval uniform in such a way that the length (553) remains same?
0 Commenti
Risposta accettata
DrZoidberg
il 6 Dic 2021
Modificato: DrZoidberg
il 6 Dic 2021
maybe the linespace function will help you to achive this:
myinterval = linspace(t_1, t_2, 533)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su String Parsing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!