フィルターのクリア

How Should I set the matrix of my input and Target for my problem?

1 回表示 (過去 30 日間)
farzad
farzad 2015 年 2 月 14 日
回答済み: Greg Heath 2015 年 3 月 16 日
My input matrix contains five elements : a , b , c , d ,e
that I will give 40 different values to them , and for each time , the output , will be a 6 *6 matrix
so how should the matrices of input and target be structured to define this condition ??
  1 件のコメント
Ganesh Gaonkar
Ganesh Gaonkar 2015 年 3 月 16 日
what is the size of your input matrix?

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

採用された回答

Greg Heath
Greg Heath 2015 年 3 月 16 日
For N pairs of I-dimensional input vectors and corresponding O-dimensional target vectors
[ I N ] = size(input)
[ O N ] = size(target)
For your problem
I = 5, N = 40, O = 36
If a is the 3rd 6x6 image, the corresponding target column is
target(:,3) = a(:);
Hope this helps
Thank you for formally accepting my answer
Greg

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by