How to overcome this problem; Error using - Matrix dimensions must agree.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Abba Alhaji Bala
el 5 de Ag. de 2019
Comentada: KSSV
el 6 de Ag. de 2019
Hello guys! please i need your input. i wanted to calculate an error using this equation
En =sqrt(((psi-p)^2)/psi^2); with psi having 108x108 double and p having 101x136 double dimensions. the error using - matrix dimesions must agree keep pupping.
i knew the two are of different dimensions, but i think if i use interpolation it will increase the error too. please is there any alternative method to make such calculation?
0 comentarios
Respuesta aceptada
KSSV
el 5 de Ag. de 2019
Two options:
Reduce dimensions
psi = psi(1:101,1:108) ;
p = p(1:101,1:108) ;
En =sqrt(((psi-p)^2)/psi^2);
Do interpolation
3 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!