필터 지우기
필터 지우기

how can I interpolate functions

조회 수: 2 (최근 30일)
Eva Maria Leal Munoz
Eva Maria Leal Munoz 2021년 3월 12일
답변: Alan Stevens 2021년 3월 12일
Hello, I have two functions A and B both with x and y components. The numbers of samples of A is 1212 (for each of the 1212 values of x we have 1212 values of y). However B has 616 values in x and y. I want to multiply the y values of them to get C = y(A) * y(B) but I am not able to do it as the length are different. I was thinking of interpolating the x values of A in the B function to get 1212 y(B) so that both y(A) and y(B) are 1212 length. How can I do this interpolation? Is there a better way to do it instead of interpolating?
Many thanks in advance, regards
Eva

답변 (1개)

Alan Stevens
Alan Stevens 2021년 3월 12일

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by