MATLAB R2013b

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

2 Comments

srinivasu
srinivasu on 16 Apr 2026 at 17:08
Edited: Walter Roberson on 16 Apr 2026 at 18:33
This comment was flagged by Steven Lord
  • Flagged by Steven Lord on 16 Apr 2026 at 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 on 16 Apr 2026 at 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?

Sign in to comment.

Answers (2)

Image Analyst
Image Analyst on 24 Apr 2023

0 votes

What did the sales people say when you called them? You did call them, right?
Steven Lord
Steven Lord on 24 Apr 2023

0 votes

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 Comments

Walter Roberson
Walter Roberson on 24 Apr 2023
Moved: Walter Roberson on 24 Apr 2023
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 on 23 Jan 2024
Moved: John D'Errico on 23 Jan 2024
sir how to download matlab R2013b version
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.

Sign in to comment.

Categories

Products

Release

R2013a

Asked:

on 24 Apr 2023

Edited:

on 16 Apr 2026 at 18:33

Community Treasure Hunt

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

Start Hunting!