How do I evaluate interpolated data at unique points provided by two other matrices?
조회 수: 7 (최근 30일)
이전 댓글 표시
I have calculated thermocouple data as [174x1] vectors. I then used
Int_Thermocouple=triscatteredinterp(Engine_Speed,Engine_Torque,Thermocouple)
to make the thermocouple data a linear function of speed and torque.
I have a matrix Torque_Map [25x23] that has unique torque values in each cell, each row is calculated with respect to a different engine speed.
I used Speed_Map = meshgrid(Engine_Speed) and then resized it to [25x23] so that Torque_Map would have a matrix of the same size containing the corresponding engine speeds for each point within Torque_Map.
Now, here's where I'm having the problem.
I want to evaluate the thermocouple data at the unique speed and load points provided by Torque_Map and Speed_Map.
I've tried
output = Int_Thermocouple(Speed_Map,Torque_Map);
but this fails. How can I evaluate the thermocouple data at every point within Torque_Map and Speed_Map?
댓글 수: 5
dpb
2013년 8월 22일
OK, it's so much easier when can visualize the data to think about it....could you also add a sample of the TC data that can fit--I've not used the triscattered data fitter previously so need an example to play with -- might as well be actual numbers/sample space commensurate w/ your actual problem.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!