Okay, I understand.
I am not exactly an engineer. I come from mathematics and work in image processing right now. So I have heard about the Simpson rule, but I have of course no idea how it is implemented (concerning tolerance and co).
In particular I needed a discrete filter from a Gaussian...
Thank you very much for your smart comment.
Maybe you have missed that Matlab does have rules to calculate with infinity.
So why not implement a numerical integration that takes on the value zero, if the function is numerically zero and infinity if it takes on nonzero equally signed values...
Hello!
I have a function f that I would like to integrate numerically. For this purpose I used quad(f,a,b) where a and b are the borders of integration. Now I want to integrate to b=infinity and this doesn't work with quad. Is there any other function I can use to numerically integrate to...
I imported a tif-file into matlab and would like to save the resulting huge matrix as a txt file with numbers and tabs (spaces) only.
Thank you for your help