Set position of image in matlab code PDF
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello,
I am very happy with using matlab, I use it for solving exercises which I then convert to PDF for easy access. However, when i use the command imshow("picture.jpg") a specific place in the Matlab code, the PDF always place it at the bottom of the section instead of where the code is written. Is there a way to set the position of an image in a PDF doc?
Thank you.
댓글 수: 3
답변 (1개)
Sulaymon Eshkabilov
2023년 1월 7일
This can be achieved using %%, e.g.:
% Image is shown here after the command imshow()
imshow("MY_image.jpg")
%% Simulation results
A = magic(3);
B=A.^3
fprintf('Time: %13c \n', now)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!