Comments on: MATLAB Answers for MATLAB questions https://blogs.mathworks.com/community/2011/06/13/matlab-answers-for-matlab-questions/?s_tid=feedtopost News from the intersection of MATLAB, Community, and the web. Mon, 13 May 2013 12:54:27 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: Helen Chen https://blogs.mathworks.com/community/2011/06/13/matlab-answers-for-matlab-questions/#comment-53662 Mon, 13 May 2013 12:54:27 +0000 https://blogs.mathworks.com/desktop/2011/06/13/matlab-answers-for-matlab-questions/#comment-53662 Nice job, Hooman!

]]>
By: Hooman https://blogs.mathworks.com/community/2011/06/13/matlab-answers-for-matlab-questions/#comment-53374 Sat, 11 May 2013 18:00:50 +0000 https://blogs.mathworks.com/desktop/2011/06/13/matlab-answers-for-matlab-questions/#comment-53374 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

]]>
By: Hooman https://blogs.mathworks.com/community/2011/06/13/matlab-answers-for-matlab-questions/#comment-53358 Sat, 11 May 2013 15:48:55 +0000 https://blogs.mathworks.com/desktop/2011/06/13/matlab-answers-for-matlab-questions/#comment-53358 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

]]>
By: Moruf https://blogs.mathworks.com/community/2011/06/13/matlab-answers-for-matlab-questions/#comment-7973 Thu, 04 Aug 2011 14:17:44 +0000 https://blogs.mathworks.com/desktop/2011/06/13/matlab-answers-for-matlab-questions/#comment-7973 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.

]]>
By: Want To Beat Google? You Need This Tool! https://blogs.mathworks.com/community/2011/06/13/matlab-answers-for-matlab-questions/#comment-7849 Tue, 28 Jun 2011 23:12:25 +0000 https://blogs.mathworks.com/desktop/2011/06/13/matlab-answers-for-matlab-questions/#comment-7849 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!…]…

]]>
By: MATLAB Answers for MATLAB questions | Mike on the MATLAB Desktop | 零度季节 https://blogs.mathworks.com/community/2011/06/13/matlab-answers-for-matlab-questions/#comment-7827 Mon, 13 Jun 2011 21:36:19 +0000 https://blogs.mathworks.com/desktop/2011/06/13/matlab-answers-for-matlab-questions/#comment-7827 […] Read more from the original source: MATLAB Answers for MATLAB questions | Mike on the MATLAB Desktop […]

]]>
By: Andrew Newell https://blogs.mathworks.com/community/2011/06/13/matlab-answers-for-matlab-questions/#comment-7828 Mon, 13 Jun 2011 17:50:13 +0000 https://blogs.mathworks.com/desktop/2011/06/13/matlab-answers-for-matlab-questions/#comment-7828 Two of my favorite “fun” questions are
Dumb mistakes we make with MATLAB (https://www.mathworks.com/matlabcentral/answers/1759-dumb-mistakes-we-make-with-matlab) by Matt Fig and
What is your unusual use of MATLAB? (https://www.mathworks.com/matlabcentral/answers/9073-what-is-your-unusual-use-of-matlab) by Fangjun Jiang.

]]>