필터 지우기
필터 지우기

How to write code for moments matrix?

조회 수: 1 (최근 30일)
Miles Hao Peng Su
Miles Hao Peng Su 2022년 11월 4일
답변: KSSV 2022년 11월 4일
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!

답변 (1개)

KSSV
KSSV 2022년 11월 4일

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by