Filter löschen
Filter löschen

How to write code for moments matrix?

1 Ansicht (letzte 30 Tage)
Miles Hao Peng Su
Miles Hao Peng Su am 4 Nov. 2022
Beantwortet: KSSV am 4 Nov. 2022
How to write code for moments i.e 0th order (m00),1st order (m10, m01), i want to write it using for loop.
I only know how to start, how do I continue from here?
[rows cols] = size(Iin);
y = 1:rows;
x = 1:cols;
How do I adapt this code for m20 and m02?
Thank you so much!

Antworten (1)

KSSV
KSSV am 4 Nov. 2022

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by