(Matlab) Need to call only a single output from a function that produces many outputs
How to elegantly ignore some return values of a MATLAB function
I'm wondering whether I should use the present tense for a descriptive statement but in a past context. For example:     (1) I went to the zoo and saw a giraffe last week.       (2) A giraffe is a mammal with long neck.       (3) It is the first time I see that animal with my own eyes.   Statement (2) is a description of a giraffe in general, not the specific one in the zoo, so is it correct to use is?  Statement (3) is an event that is still true now, so should I use is and see?  I'm not native speaker so forgive me if the question is very obvious to others. My book (Concepts of Physics by H.C. Verma) writes:  It has been reported () that the force between two masses may be better represented by $$F = \frac{G_{\infty} m_{1} m_{2}}{r^2} \left[1 + \left(1 + \frac{r}{\lambda} \right) \alpha e^{-\frac{r}{\lambda}}\right]$$ where $\alpha \approx - 0.007$ and $\lambda \approx 200~\mathrm{m}$.  What is this? Such a horrendous formula! So, what about Newton's? And what's the difference between $G$ &amp; $G_{\infty}$? switch a theme different per user role I plan to use the member plugin by Justin Tadlock  I wish to know if how could I, on the front side, auto switch to a theme according to a role status.. for example authors would have the site presented using theme 1 while editor would have the site presenter using theme 2  I would rather have 2 different theme rather than conditionals within one theme structure  Thank you in advance Prove that $\Vert f(b)-f(a)-f'(a)(b-a) \Vert\leq \sup_{x\in [a,b]} \Vert f''(x)\Vert\Vert b-a\Vert^2$ Let $\Omega$ be an open set in $\Bbb{R}^n$ and $f:\Omega\to \Bbb{R}^m $ be of class $\Bbb{C}^2.$ Let $a,b$ be in $\Omega$ such that $[a,b]\subset \Omega.$ Prove that  \begin{align}\Vert f(b)-f(a)-f'(a)(b-a) \Vert\leq \sup_{x\in [a,b]} \Vert f''(x)\Vert\Vert b-a\Vert^2.\end{align} where $$f'(a)(b-a)=\big&lt;\nabla f(x),(b-a)\big&gt;=\sum^{n}_{k=1}\frac{\partial f_i}{\partial x_k}(a)(b_k-a_k).$$  I  think the idea of Mean Value Theorem for $C'$ functions in $\Bbb{R}^n$ () will help me in showing it but I don't know how to! Please, can anyone show me a proof or reference? Prove there are k consecutive non-squarefree integers So, I've got a question for class that asks me to prove the existence of arbitrarily long runs of consecutive integers where $\mu(n)$ is zero.   I've started the proof, but I need a bit of help midway through.  Assume there exists a run of length n, which we currently assume is the longest possible chain.  If we induct on n, we can assume there is a run of the form $m_1p_1^2, m_2p_2^2, ..., m_np_n^2$ (where each of the $p_i$ are prime).  If I add $M =  lcm(m_1p_1^2, m_2p_2^2, ..., m_np_n^2)$ to each number, I get another run of length n.  So here's where the issue starts. When I talked to my advisor about it, he referenced a theorem where there exists a prime $p$ congruent to $1\ mod\ M$.  I am unfamiliar with this theorem, so I'm not sure how to use this information. Any chance I can get some help? Or else is there a simpler way to go about this problem? How to divide an image into blocks in MATLAB? Let's assume that one has some HP printer and/or scanner and checked its support status on the corresponding page of HPLIP site - .  So one have the following information: the device Model name, Min. HPLIP Version and Driver Plug-in need.   What should one install to make Ubuntu fully support the HP printer and/or scanner? How to call a constructor on an already allocated memory? How can I call a constructor on a memory region that is already allocated? Adding 2 favorite tags at one time combines tag after page refresh I was adding some tags to my favorite tags today and noticed tags being joined together when the page is refreshed.  Steps to reproduce:   Click edit on Favorite Tags Create the first tag and click add [I added django in this case] Add a second tag and click add [I added python in this case] Refresh page  Favorite tags now show previous tags + djangopython   In the edit section, it appears as if the tags are added separately, but when I refresh the page they get joined  OS: MacOSX-10.8  Browser: Chrome, Firefox How can I upload files asynchronously with jQuery? I would like to upload a file asynchronously with jQuery.     $(document).ready(function () {     $("#uploadbutton").click(function () {         var filename = $("#file").val();          $.ajax({             type: "POST",             url: "addFile.do",             enctype: 'multipart/form-data',             data: {                 file: filename             },             success: function () {                 alert("Data Uploaded: ");             }         });     }); }); &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"&gt;&lt;/script&gt; &lt;span&gt;File&lt;/span&gt; &lt;input type="file" id="file" name="file" size="10"/&gt; &lt;input id="uploadbutton" type="button" value="Upload"/&gt;     Instead of the file being uploaded, I am only getting the filename. What can I do to fix this problem? How do the sets $\emptyset\times B,\ A\ \times \emptyset, \ \emptyset \times \emptyset $ look like? If we have a function $f:A \rightarrow B$, then one way to give meaning, I think, to this function, in terms of set theory, is to say, that $f$ is actually a binary relation $f=(A,B,G_f)$, where $G_f \subseteq A \times B$ is the graph of the function. Now my question is: what is $f$ if   $\bullet \ A=\emptyset, \ B\neq\emptyset$,?  $ \bullet \ B=\emptyset, \ A\neq\emptyset$ ?  $ \bullet \ B=\emptyset, \ A=\emptyset$ ?  (Another way to formulate this, I think, would be: How do the sets $\emptyset\times B,\ A\ \times \emptyset, \ \emptyset \times \emptyset $ look like? Are they all $\emptyset$ ?) I applied for a standard visitor visa to the UK for seven days. I earn £278/month and have been working at the same organization for more than a year. I have saved up enough funds for the trip and I attached bank statements to prove it. The ECO refused my visa stating:      I note that you stated that your trip to the UK will cost you £1100, this is approximately 4 times your monthly income. I do not find it credible that you spend this amount on a trip.   I am a single woman, with no financial responsibilities and I saved up for this trip because I really wanted to visit the UK.  How do I prove to the ECO and the authorities that spending £1,100 for my trip wouldn't have caused me any financial harm neither would I have had to access UK government funds?    Another concern of mine is that if I reapply without the partial funding of my father or get sponsored by a different person, does the amount given by my father previously cause hindrance in my visa application?  Won't they still reject it on the basis of my pay being too insignificant? What do you call someone who pretends to be your friend but is actually your enemy?  A friend suggested spy for me, but that does not nearly describe the word I need for an English project. The character is very good at manipulating how people see him. He's a good liar. And pretends to be your friend but actually is your enemy. Explanation of Spikes in training loss vs. iterations with Adam Optimizer I am training a neural network using i) SGD and ii) Adam Optimizer. When using normal SGD, I get a smooth training loss vs. iteration curve as seen below (the red one). However, when I used the Adam Optimizer, the training loss curve has some spikes. What's the explanation of these spikes?   Model Details:  14 input nodes -> 2 hidden layers (100 -> 40 units) -> 4 output units  I am using default parameters for Adam beta_1 = 0.9, beta_2 = 0.999, epsilon = 1e-8 and a batch_size = 32.  i) With SGD  ii) With Adam Why the definition of limit have a strict inequality rather than not? My question is why the definition of limit of sequence is for $\epsilon &gt;0$, there exist $N$ st for $n\ge N$ that $|x_n-L|&lt;\epsilon$ instead of $|x_n-L|\le \epsilon$ I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened because Zend updated Apache.  Whatever the reason may be, I want to know where to keep my php files so that I can access them from my browser. If a batsman hits the ball inside the ground and begins running between the wickets and now the ball is thrown back to the Fielder/Bowler/WK(FBWK)    If the FBWK catches the ball in one hand and hits the stumps with other hand before the batsman gets reached, is this a run out? If the FBWK catches the ball in hands and hits the stumps with leg or any other part of his body before the batsman gets reached, is this a run out?   This scenario can occur, when the ball was thrown far away from stumps. Maximum and minimum value of Determinant of $3 \times 3$ Matrix with entries $\pm 1$ Find Maximum value of Determinant of $3 \times 3$ Matrix  with  entries $\pm 1$  My try:  I considered a matrix as :  $$A=\begin{bmatrix} 1 &amp;-1  &amp;-1 \\  -1 &amp;1  &amp;-1 \\   -1&amp;-1  &amp;1  \end{bmatrix}$$  we have $$Det(A)=-4$$ and maximum is $4$, but how can we show that these are max and min values?   I also tried as follows:  By definition Determinant of a matrix is dot product of elements of any row with corresponding Cofactors  hence  $$Det(A)=a_{11}C_{11}+a_{12}C_{12}+a_{13}C_{13}$$  By cauchy Scwartz Inequality we have  $$a_{11}C_{11}+a_{12}C_{12}+a_{13}C_{13} \le \left(\sqrt{a_{11}^2+a_{12}^2+a_{13}^2}\right)\left(\sqrt{C_{11}^2+C_{12}^2+C_{13}^2}\right)$$  any way to proceed here? Is there a word in English to qualify the highest-ranked student in a class in a year?  We are talking here about higher education, especially in the context of curricula that keep a given set of students over the course of several years, being ranked at the end of each year, possibly with competitive admission for the following year. The ranking is a weighted average of all marks obtained over the year.  I am looking for a single word, or expression, to quickly designate the one student with the highest ranking. If there is no such thing in English, then let's try to get the most concise and idiomatic definition.  In all cases, it is not emotionally connoted, i.e. not pejorative nor bragging.  For French speakers: I am looking for the translation of “major de promotion”.    EDIT: additional, not as much of a pure “word request” question: is this anything you should mention on a curriculum vitæ in the English-speaking world? If so, please mention whether the given word is appropriate for such a use&nbsp;&nbsp;:) How to derive the least square estimator for multiple linear regression?