Info

This question is closed. Reopen it to edit or answer.

can you tell me how to implement these equation in matlab???

1 view (last 30 days)

Answers (1)

Image Analyst
Image Analyst on 27 Feb 2014
I assume you already have all those variables in your program. Then have you tried the intuitive, simple approach of using two for loops, one nested inside the other? One watchout: in your loop, don't call the accumulation variable "sum" or else you'll blow away the built in sum. Using for loops is about as basic as you can get with MATLAB, and you'll need to master it (which can be done in about 15 minutes), so give it a try. If you still can't figure out the for loop approach, try this link: http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!