Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
ashok
ashok le 27 Fév 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021

Réponses (1)

Image Analyst
Image Analyst le 27 Fév 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

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by