Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to do the matrix calculations
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear all, Here is the question. I have two matrices named Matrix A(temperature data) and Matrix B(salinity data). I wanna calculate Matrix C(density data), and we know C(density) is a function of A(temperature) and B(salinity). And I hope to plot the figure, for which, density variations with the time. Best regards, Mingda


댓글 수: 3
Amit
2014년 1월 12일
The equation you wrote are right and should give you the answer. Isn't rho the solution you want? Are you having trouble exporting the data as vector T for temperature and S for salinity?
답변 (2개)
Youssef Khmou
2014년 1월 12일
As you have the formula, you can get C given rho0 and rho are known :
C=(rho-rho0-A*S-B*S^(3/2))*inv(S);
댓글 수: 3
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
