How to solve divergence (gradient(column matrix))

Apart from applying L2 norm, it's derivative so called L1 is applied for edges of a image. for image I, size M*N f be the column matrix MN*1 then ∇∙(∇f)/|∇f | where (∇f) is gradient, |∇f | L1 norm of (∇f) but the problem is ,since f is column matrix , divergence function in matlab is gives error saying that the matrix must be 2*2 or greater. how to overcome this problem?

1 件のコメント

Jan
Jan 2015 年 12 月 12 日
Please edit the question and insert some code, which reproduces the problem. Then add a copy of the error message, because a rought paraphrasation might conceal important details.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSparse Matrices についてさらに検索

質問済み:

2015 年 12 月 12 日

コメント済み:

Jan
2015 年 12 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by