how can propagate error for division of two matrices?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Joseph
el 13 de Jun. de 2018
Comentada: Joseph
el 19 de Jul. de 2018
I have two arrays E(i,j,k) and E_2(i,j,k) in which some elements of these matrices are nan values. while, I can calculate standard deviations S(i,j) = nanstd(E(i,j,:)); and S_2(i,j) = nanstd(E_2(i,j,:)); for E and E_3, i don't know howe to calculate standard deviation for E_2(i,j,k)./E(i,j,k). i was wondering if it is possible using propegation of error (function sigma = PropError(f,varlist,vals,errs)) or any other way.
Thank you in advance
0 comentarios
Respuesta aceptada
Arvind Narayanan
el 6 de Jul. de 2018
Hi Joseph,
If the second matrix(E(i,j,k) in this case) has all non zero elements(NaN allowed), then only we can calculate standard deviation of this p./q type matrix. Otherwise, the resulting matrix will have Inf in it which would result in standard deviation in NaN .
Since Inf makes the mean and other central tendencies of the matrix non-quantifiable, the result is NaN.
Hope this helps,
Arvind
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!