The space between my equation is bothering me as it looks unnecessary. I have a feeling it is because of some formatting on latex that wants every page to end specifically at the last line of that page.
I'm a newbie at latex to be honest, so any help will be much appreciated. Preferably I'm looking for a simple code I can implement maybe after the equation...
Using sharelatex.com my the relevant chunk of my code is: \begin{problem}
La siguiente función representa una curva gaussiana
\begin{equation*}
f(r)=\frac{1}{\omega_o}\exp(-r^2/\omega_o^2)
\end{equation}
TEXT....
\includegraphics[width=\textwidth]{FC_t0_3'.png}
That piece of code was probably worthless so I add the URL of my document https://www.sharelatex.com/project/55d222b6f18581b035417efa so you can see for yourself. Note that I've used a matlab template.
Thanks.

\textheight. If you set the\raggedbottomdirective in your preamble, you will simply have a white space at the bottom of the page. You also can try to scale the figure so that it fits on the preceding page. Btw, do you really need to have the whole matlab window in your document? – Bernard Aug 22 '15 at 15:51[H]option? Don't. – Johannes_B Aug 22 '15 at 15:52x = y = [-5,5], that looks ... odd, to me you define both x and y to be intervals, while in r^2 = x^2+y^2 they look like (real) numbers. – moewe Aug 22 '15 at 15:56\includegraphics[width=\textwidth]{FC_t0_4.png}without any float environment. – moewe Aug 22 '15 at 15:59\clearpage, but that also has its drawbacks. – moewe Aug 22 '15 at 16:07\begin{equation*}ending with\end{equation}(note the missing*). – moewe Aug 22 '15 at 16:11-signs in the vectors in line 32 and so on are actually evil unicode unary minuses and not normal-s that throws TeX off quite a bit, so much so that it gobbles those in the output! – moewe Aug 22 '15 at 16:15\\yourself. Because you use non-floating images it might be necessary at times, but not all your\\are justified. Those beforeequations can be dropped safely as well as the\\afterequations. If you want to start a new paragraph, leave an empty line. – moewe Aug 22 '15 at 16:21\allowdisplaybreaks.– JPi Aug 22 '15 at 16:42