Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)

回答(1 个)

Image Analyst
Image Analyst 2014-2-27
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

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by