# MATLAB Spoken Here

## MATLAB Answers for MATLAB questions

At the beginning of this year, when we launched MATLAB Answers, Garth and Doug blogged to tell the world about our latest addition to MATLAB Central. Since then, over 17,000 people have contributed and have accrued some MATLAB Answers “reputation”! There have been so many really great questions and answers made by our community members on MATLAB Answers.

I thought it would be fun to spotlight contributions by some of our community members in this post.

Walter Roberson and Matt Fig have both become MATLAB Answers Editors by reaching a reputation of 1500. If you have posted questions on Answers, it is likely that you have received a response from one of them since between them, they have posted over 2500 answers! Now, with their new roles, they are able to help improve usefulness of our library of questions and answers by editing content to make them more understandable and relevant. Thanks, Walter and Matt, for all your work making MATLAB Answers an awesome place for everyone!

Speaking of making questions and answers more readable, have you read Oleg Komarov‘s tutorial on how to ask a question (on Answers) and get a fast answer? He has some great ideas on different ways you can look for solutions before posting your question. You can also check out community responses to Ned Gulley‘s question “How do I write a good question for MATLAB Answers?” for more ideas. Remember that if you can present your question clearly, specifically stating where you are encountering problems and what you have done to troubleshoot, you are more likely to get a response from other members of the community. Give these questions a read!

By the way, if you are a student, there’s a related post by Doug Hull about how to ask for help with your homework questions. :-)

If you’ve had someone help you out by answering your question, you know how great it feels that someone has taken the time to help you. Take a moment to accept an answer. This is a great way to say “thank you” to the fellow community member. Pay it forward by jumping in and sharing your MATLAB knowledge with others by answering some questions.

Just for Fun

Community members have shared their own insights in a series of questions and answers that are sure to put a smile on your face. Do any of their experiences remind you of things that you experienced?

And don’t forget to check out Matt Fig’s Hump Day puzzles!

A big thank you to everyone who has participated in MATLAB Answers. Your efforts are what make the MATLAB Central community such a cool place to hang out.

Until next time, see you online!

### 8 Responses to “MATLAB Answers for MATLAB questions”

1. MATLAB Answers for MATLAB questions | Mike on the MATLAB Desktop | 零度季节 replied on :

[...] Read more from the original source: MATLAB Answers for MATLAB questions | Mike on the MATLAB Desktop [...]

2. Andrew Newell replied on :

Two of my favorite “fun” questions are
Dumb mistakes we make with MATLAB (http://www.mathworks.com/matlabcentral/answers/1759-dumb-mistakes-we-make-with-matlab) by Matt Fig and

3. Helen at MATLAB Central replied on :

Thanks Andrew!

4. Want To Beat Google? You Need This Tool! replied on :

SENuke Info: Become THE SEO Expert…

[...If you want to know how to do on page SEO visit %BLOGURL% and add SENuke to your arsenal. Best part? It's free for 30 days!...]…

5. Moruf replied on :

Please i need answer ti this class practice I have tried my best on the question but i am issues with FOR LOOP

Question: Write 4 lines of code to use a For Loop in the variable i to calculate and store the values of t and h=(3+t)t.
Continuing with the above and assuming the out variable is h, allocate memory with NaN command for t and h.

6. Hooman replied on :

M1=M(:,:,1,8)+M(:,:,1,7)+M(:,:,1,6)+M(:,:,1,5)+ …. M(:,:,1,4)+M(:,:,1,3)+M(:,:,1,2)+M(:,:,1,1);
M2=M(:,:,2,8)+M(:,:,2,7)+M(:,:,2,6)+M(:,:,2,5)+ …. M(:,:,2,4)+M(:,:,2,3)+M(:,:,2,2)+M(:,:,2,1);
M3=M(:,:,3,8)+M(:,:,3,7)+M(:,:,3,6)+M(:,:,3,5)+ …. M(:,:,3,4)+M(:,:,3,3)+M(:,:,3,2)+M(:,:,3,1);

I know it would be easy but as know sometimes, you get confusion when you are trying to write code :(
Assume I have some summation of the Matrix like above
how can I use “for command” to wrap up my expression?
Many Tnx

7. Hooman replied on :

I solved it by myself :)

Aaa=zeros(1,32090,tr);
for i=1:tr
for k=1:des+1
MaxM1(:,:,i)=Moment(:,:,i,k);
Aaa(:,:,i)=MaxM1(:,:,i)+Aaa(:,:,i);
end
end

8. Helen Chen replied on :

Nice job, Hooman!

 Name (required) E-mail (required, will not be published) Website (optional) Spam protection (required): What is 5 + 9 ?

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>


If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).

News from the intersection of MATLAB, Community, and the web.

These postings are the author's and don't necessarily represent the opinions of MathWorks.