Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
deltaメインとラインに変数があります:Y_Q = blkproc(Y_dct, [8 8], @Quantization);
delta
Y_Q = blkproc(Y_dct, [8 8], @Quantization);
Quantization変数について知る関数が必要ですdelta。
Quantization
誰か助けてくれませんか?ありがとう..
がサブ関数の場合Quantization、外側の関数の変数にアクセスできます (Quantizationコールバック引数と必要な追加の値を使用して呼び出すサブ関数を導入することもできます)。
もう 1 つの方法は、変数をglobal共有する必要がある各関数の先頭にあるステートメントを使用して、共有変数をグローバルにすることです。
global