I need to download MATLAB R2013b version for Mac OSX M2 and I do not found the zip to download.

댓글 수: 2

srinivasu
srinivasu 2026년 4월 16일 17:08
편집: Walter Roberson 2026년 4월 16일 18:33
이 댓글에 Steven Lord 님이 플래그를 지정함
  • Steven Lord 님이 2026년 4월 16일 17:57에 플래그를 지정했습니다.

    Comment is unrelated to the original question.

clc;
clear;
close all;
%% -------- Select and read RGB image (no toolbox needed) --------
[filename, pathname] = uigetfile( ...
{'*.png;*.jpg;*.jpeg;*.bmp', 'Image Files (*.png,*.jpg,*.jpeg,*.bmp)'}, ...
'Select an RGB Image');
if isequal(filename,0) || isequal(pathname,0)
error('No image selected.');
end
imgPath = fullfile(pathname, filename);
if ~isfile(imgPath)
error('File not found: %s', imgPath);
end
k = imread(imgPath);
figure; imshow(k); title('Original RGB Image');
% Ensure uint8 for easier histogram equalization
if ~isa(k,'uint8')
k = im2uint8(k);
end
%% -------- Manual histogram equalization for each channel --------
equalizeChannel = @(ch) manual_histeq_gray(ch); % manual HE per channel [web:96][web:99]
R = equalizeChannel(k(:,:,1));
G = equalizeChannel(k(:,:,2));
B = equalizeChannel(k(:,:,3));
k_eq = cat(3, R, G, B);
%% -------- Display original vs enhanced --------
figure;
subplot(1,2,1); imshow(k); title('Original RGB Image');
subplot(1,2,2); imshow(k_eq); title('Histogram Equalised RGB Image (manual, no histeq)');
% Optional: save result
% imwrite(k_eq, 'he_manual_rgb.png');
%% ------------ Helper function (no toolbox) ------------
function out = manual_histeq_gray(ch)
% ch: uint8 2D matrix
ch = uint8(ch);
[m,n] = size(ch);
numPixels = double(m*n);
% Histogram (256 bins)
h = histcounts(ch, 0:256).'; % 256x1 [web:96][web:107]
% PDF
pdf = h / numPixels;
% CDF
cdf = cumsum(pdf); % length 256, values in [0,1]
% Mapping: new_level = round(cdf(level)*255)
mapping = uint8(255 * cdf);
% Apply mapping (vectorised)
idx = double(ch) + 1; % 0..255 -> 1..256
out = mapping(idx);
end
Steven Lord
Steven Lord 2026년 4월 16일 17:57
The comment above has nothing to do with the original question. If you need help with this code, please post it as a new question. In that new question please describe the specific help you're looking for. Does the code error? Does it do something other than what you want?

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

답변 (2개)

Image Analyst
Image Analyst 2023년 4월 24일

0 개 추천

What did the sales people say when you called them? You did call them, right?
Steven Lord
Steven Lord 2023년 4월 24일

0 개 추천

Apple Silicon-based Macs do not satisfy the system requirements for release R2013b on Mac.
If you made a typo and were asking about release R2023b, that release is not yet available. The current release as I'm typing this answer is release R2023a.

댓글 수: 3

Walter Roberson
Walter Roberson 2023년 4월 24일
이동: Walter Roberson 2023년 4월 24일
In some cases, old versions of the software continue to (mostly) execute on operating systems or hardware newer than what is officially "supported" for them.
However, realistically R2013a and R2013b will not operate on an operating system new enough to be used in an Apple Silicon M2 machine. Apple has made a number of security-related changes that are not compatible with MATLAB versions that old.
Sane
Sane 2024년 1월 23일
이동: John D'Errico 2024년 1월 23일
sir how to download matlab R2013b version
Walter Roberson
Walter Roberson 2024년 1월 23일
To download R2013b:
In the list box in the upper left, select R2013b. This will bring up the download page.
This will guess about the platform to use. If you need a different platform, then select a different Platform: in the mid upper right (below the box notifying about security updates.)
It is possible that your account is not permitted to download R2013b.

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

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

제품

릴리스

R2013a

질문:

2023년 4월 24일

편집:

2026년 4월 16일 18:33

Community Treasure Hunt

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

Start Hunting!

Translated by