필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I make the dimensions to agree

조회 수: 3 (최근 30일)
juan Ortiz
juan Ortiz 2018년 3월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
IR = find(abs(TTB1(:,1)-CR)<0.1, 1, 'first');%interpulated row -> (IR) for proof
IC = find(abs(TTB1(1,:)-TR)<0.1, 1, 'first')
dfdC = diff(TTB1(IR,:))
dfdT = diff(TTB1(:,IC));
f = intersect(dfdC,dfdT)
C3 = (f+((C2(i)-CR)*dfdC)+((tempexp-TR)*dfdT));
  댓글 수: 1
Rik
Rik 2018년 3월 1일
The two parts you are trying to add up are not the same size, which makes sense because they are derived from a column vector and a row vector. Without knowing what your goal is and plausible data to test your code there is little we can do for you.
Also f might not have the size you expect, should there be some implicit expansion to fix that?

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by