Best way to write this function in matlab while using eps in the denominator to avoid zero
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Here's what I had z = (xx.*yy.*(xx.^2-yy.^2))/(eps(xx.^2+yy.^2)); but I kept getting a rank deficient error
1 Kommentar
KSSV
am 28 Nov. 2016
Your denominator is x^2+y^2, it will be zero for x = y = 0. You have to skip these values. Post your full code.
Antworten (1)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!