How can I create a 1*1struct data, which has two fields?

조회 수: 1 (최근 30일)
Gulfam Saju
Gulfam Saju 2022년 5월 9일
댓글: Jan 2022년 5월 9일
I want to create a mat file, which contains 1*1 struct data with two fields. One is "label" and another is "train". Label containst a 320*320 image and train contains "320*320" random lines.
A sample is given below .
  댓글 수: 12
dpb
dpb 2022년 5월 9일
Yeah, @Jan, I presumed the 320 image was/is the black portion only and that the remainder is a fignewton of the method used to capture it...some of the MS tools are very bad in that regards of not having convenient ways to set an output format.
Jan
Jan 2022년 5월 9일
@Gulfam Saju: Okay, I'vwe removed the white border for you also. It would be smart, if you do such work by your own. The less the readers have to do, the more time they have to provide a useful answer. So it is a good idea to provide the details such, that answering is as easy as possible.
The posted image has a structure and is not random. Look on the round artifacts in the corners. Does this matter?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by