how to use "save" command in matlab as an indexable command
이전 댓글 표시
how to use 'save' command in matlab as an indexable command matlab indexing save wavelet There is a matrix of 2550*720 dimension. Each row of this matrix is changed to an image by wavelet transform. The problem is that 'save' command in matlab, store all of 2550 images together in one image.The question is how to indexing 'save' command to store these images separately? Thank you
댓글 수: 2
Sriram Tadavarty
2020년 4월 26일
Ramin,
Can you post the code that you tried? So that it makes simple to suggest the modifications.
채택된 답변
추가 답변 (1개)
Walter Roberson
2020년 4월 26일
0 개 추천
You cannot do that. save() always saves the entire variable named, so you will have to put them into seperate variables. The one exception to that, is using the -struct option: if you have a scalar struct and use the -struct option then instead of it saving the entire struct as one variable, it will create one variable for each field name in the struct.
You should also look at matFile, which is able to read parts of an array from a .mat file.
카테고리
도움말 센터 및 File Exchange에서 Wavelet Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!