Matrix Interpolation and Multiplication

3 views (last 30 days)
Avinash
Avinash on 14 Oct 2015
I have two sets of matrices :
Set 1.)X1, Y1 and Z1 - Where X1 is a 1x91 array of speeds and Y1 is a 1x56 array of torque. Z1 is a 91x56 matrix of efficiency obtained through experimentation.
Set 2.)X2, Y2 and Z2 - Where X2 is a 1x11 array of speeds and Y2 is a 1x14 array of torque. Z2 is a 11x14 matrix of efficiency.
My system's overall efficiency at each operating point corresponding to (X1=X2,Y1=Y2) is the product of Z1 and Z2. Since the two vectors are not of the same dimension, i am unable to directly multiply these two. I assume that i have to equalize the dimensions of the X,Y and Z arrays before I can multiply them. Since all values have been derived by experimentation and reducing the size of arrays will lead to increased error in the final value, I want to interpolate X2 to have same size as X1. Y2 to the size of Y1 and Z2 to size of Z1.
Is there any matlab function that will help me achieve this ? I am unable to come up with any logic to overcome this issue. Any help will be really useful.
Thanks in advance

Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!