Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How to do the matrix calculations
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Amit
el 12 de En. de 2014
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?
Respuestas (2)
Youssef Khmou
el 12 de En. de 2014
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 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
