Deep Learning

 

MATLAB for Deep Learning

Design, build, and visualize convolutional neural networks

With just a few lines of MATLAB® code, you can build deep learning models without having to be an expert. 

Use MATLAB to perform tasks such as targeting embedded GPUs, using a long short-term memory (LSTM) network, or performing semantic segmentation.

Deep Learning in 11 Lines of MATLAB Code 

Learn how to perform deep learning using MATLAB, a webcam, and a pretrained neural network to identify objects in your surroundings. Watch the video and follow along with the code:

clear
camera = webcam;                           % Connect to camera
nnet = alexnet;                            % Load neural net
while true  
    picture = camera.snapshot;             % Take picture
    picture = imresize(picture,[227,227]); % Resize
    label = classify(nnet, picture);       % Classify 
    image(picture);                        % Show picture
    title(char(label));                    % Show label
    drawnow;   
end

Interested in learning more? Get a trial of the products you’ll need and download the AlexNet support package.

Explore Examples

Go from basic tasks to more advanced maneuvers by walking through interactive examples and tutorials.

Get a Free Trial

30 days of exploration at your fingertips.

Have Questions?

Talk to a deep learning expert.