Clear Filters
Clear Filters

How to modify vector length ??

2 views (last 30 days)
Nicolò Monaco
Nicolò Monaco on 15 Mar 2021
Commented: Nicolò Monaco on 15 Mar 2021
I have a column vector with 604800 values representig power generation for a system per second in a week. On the other side I have another column vector of 10080 values that are the electrical load per minute in a week. I have to find the mismatch, so they must have the same lenght. The 10080 vector must be translated from "values per minute" to "values per second"
I thought interpolation can be a solution, but I cannot do it for every two subsequent values. Ideas??

Accepted Answer

ANKUR KUMAR on 15 Mar 2021
Edited: ANKUR KUMAR on 15 Mar 2021
You can use interp1 to do that.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!