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

2 commentaires

srinivasu
srinivasu le 16 Avr 2026 à 17:08
Modifié(e) : Walter Roberson le 16 Avr 2026 à 18:33
Steven Lord a ajouté un drapeau à commentaire
  • Steven Lord a ajouté un drapeau le 16 Avr 2026 à 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 le 16 Avr 2026 à 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?

Connectez-vous pour commenter.

Réponses (2)

Image Analyst
Image Analyst le 24 Avr 2023

0 votes

What did the sales people say when you called them? You did call them, right?
Steven Lord
Steven Lord le 24 Avr 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 commentaires

Walter Roberson
Walter Roberson le 24 Avr 2023
Déplacé(e) : Walter Roberson le 24 Avr 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 le 23 Jan 2024
Déplacé(e) : John D'Errico le 23 Jan 2024
sir how to download matlab R2013b version
Walter Roberson
Walter Roberson le 23 Jan 2024
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.

Connectez-vous pour commenter.

Catégories

Produits

Version

R2013a

Question posée :

le 24 Avr 2023

Modifié(e) :

le 16 Avr 2026 à 18:33

Community Treasure Hunt

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

Start Hunting!

Translated by