Effacer les filtres
Effacer les filtres

I have four matrix of order 500X100 and three matrix has very small value like 2.12345 etc and fourth matrix has very large value like 1.7654e+165 and i want to substact fourth matrix from first,second and third matrix so please give me solution.

3 vues (au cours des 30 derniers jours)
i tried to substract but every time the maximum value with minus sign comes in resulted matrix like -1.7654e+165 and it affect my final result.please give solution.

Réponses (1)

KSSV
KSSV le 4 Jan 2019
Modifié(e) : KSSV le 4 Jan 2019
YOu can straight away substract them right? Check the below example:
A = rand(2,2,4) ;
iwant =A(:,:,1:3)- A(:,:,4)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by