How I can write this equation in matlab codes?

1 vue (au cours des 30 derniers jours)
Fawwaz Hilmiy
Fawwaz Hilmiy le 26 Nov 2020
Hi everyone
Can you assist me in write this equation in MATLAB?
Since I have tried it few times but I'm stucked.
Thank you for your assistance guys.

Réponses (1)

Walter Roberson
Walter Roberson le 26 Nov 2020
Use a vector calculation to calculate the entries inside the summation -- there are only 9 of them. Then sum() them. abs() and square and multiply by appropriate values .
Do not try to get into symsum() to calculate the summation: symsum() is not appropriate for cases where the variable of summation would need to index a variable (such as )

Catégories

En savoir plus sur Function Creation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by