This is 256*256. I want to create similar one, which is 320*320.
How can I create a 1*1struct data, which has two fields?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
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 Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!