{"id":16160,"date":"2024-09-24T12:11:27","date_gmt":"2024-09-24T16:11:27","guid":{"rendered":"https:\/\/blogs.mathworks.com\/deep-learning\/?p=16160"},"modified":"2025-05-16T13:02:16","modified_gmt":"2025-05-16T17:02:16","slug":"apply-ai-with-new-r2024b-examples","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/deep-learning\/2024\/09\/24\/apply-ai-with-new-r2024b-examples\/","title":{"rendered":"Apply AI with New R2024b Examples"},"content":{"rendered":"<h6><\/h6>\r\nIn my <a href=\"https:\/\/blogs.mathworks.com\/deep-learning\/2024\/09\/17\/r2024b-a-peek-into-new-ai-features\/\">last post<\/a>, I talked about new AI features introduced with MATLAB R2024b - the latest release, which is now available to you. In this blog post, I am going to present a few new and exciting examples on AI workflows, AI areas (computer vision and natural language processing), and AI applications.\r\n<h6><\/h6>\r\nTo find more new AI examples, see the Deep Learning Toolbox release notes for <a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/release-notes.html#mw_78f37e9b-fb8d-4514-bbf9-150a7d5c2c04\">application examples<\/a>. Did you find the right example that helps you apply AI? Is there an example you would like to see but doesn't exist? Comment below!\r\n<h6><\/h6>\r\n&nbsp;\r\n<h6><\/h6>\r\n<p style=\"font-size: 20px;\"><strong>AI Workflows<\/strong><\/p>\r\n\r\n<table width=\"90%;\">\r\n<tbody>\r\n<tr style=\"border-bottom: solid 1px #bfbfbf; border-top: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf; background-color: #e6e6e6; font-size: 16px;\">\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"30%\"><strong>Compression<\/strong><\/td>\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"30%\"><strong>AI with Simulink<\/strong><\/td>\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"30%\"><strong>Performance<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: left;\" width=\"30%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16172 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/compressiontopicintroductionillustration.png\" alt=\"\" width=\"461\" height=\"261\" \/><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: left;\" width=\"30%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16289 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/ExportQuantizedNetworkToSimulinkExample_05.png\" alt=\"\" width=\"761\" height=\"573\" \/><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: left;\" width=\"30%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16175 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/ProfileDeepLearningCodeToImprovePerformanceExample_05.png\" alt=\"\" width=\"866\" height=\"439\" \/><\/td>\r\n<\/tr>\r\n<tr style=\"border-bottom: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"30%\"><a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ug\/reduce-memory-footprint-of-deep-neural-networks.html\">Reduce Memory Footprint of Deep Neural Networks<\/a><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"30%\"><a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ug\/export-quantized-network-to-simulink.html\">Export Quantized Networks to Simulink and Generate Code<\/a><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"30%\"><a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ug\/profile-deep-learning-code-to-improve-performance.html\">Profile Your Deep Learning Code to Improve Performance<\/a><\/td>\r\n<\/tr>\r\n<tr style=\"border-bottom: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; border-left: solid 1px #bfbfbf; text-align: center; background-color: #e6e6e6; font-size: 16px;\" colspan=\"3\"><strong>End-to-End Workflow<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" colspan=\"3\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16184 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/battery_soc.png\" alt=\"\" width=\"932\" height=\"168\" \/><\/td>\r\n<\/tr>\r\n<tr style=\"border-bottom: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" colspan=\"3\"><a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/end-to-end-workflows.html?s_tid=CRUX_lftnav\">Battery State Estimation Using Deep Learning<\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h6><\/h6>\r\n&nbsp;\r\n<h6><\/h6>\r\n<p style=\"font-size: 20px;\"><strong>AI Branches<\/strong><\/p>\r\n\r\n<table width=\"90%;\">\r\n<tbody>\r\n<tr style=\"border-top: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16223\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/computervision-300x213.png\" alt=\"\" width=\"102\" height=\"72\" \/><\/td>\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16226\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/nlp-300x198.png\" alt=\"\" width=\"108\" height=\"71\" \/><\/td>\r\n<\/tr>\r\n<tr style=\"border-bottom: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf; font-size: 16px;\">\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"45%\"><a href=\"https:\/\/www.mathworks.com\/solutions\/artificial-intelligence\/ai-computer-vision.html\"><strong>Computer Vision<\/strong><\/a><\/td>\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"45%\"><a href=\"https:\/\/www.mathworks.com\/solutions\/artificial-intelligence\/natural-language-processing.html\"><strong>Natural Language Processing<\/strong><\/a><\/td>\r\n<\/tr>\r\n<tr style=\"border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16292 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/SegmentAndLabelGroundTruthForSemanticSegmentationExample_15.png\" alt=\"\" width=\"2800\" height=\"1626\" \/><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16229 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/OutOfDistributionDetectionForBERTDocumentClassifierExample_06.png\" alt=\"\" width=\"840\" height=\"630\" \/><\/td>\r\n<\/tr>\r\n<tr style=\"border-bottom: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><a href=\"https:\/\/www.mathworks.com\/help\/vision\/ug\/automatically-segment-and-label-ground-truth-semantic-segmentation.html\">Automatically Label Ground Truth Using Segment Anything Model (SAM)<\/a><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ug\/out-of-distribution-detection-for-bert-document-classifier.html\">Out-of-Distribution Detection for BERT Document Classifier<\/a><\/td>\r\n<\/tr>\r\n<tr style=\"border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16295 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/detect_small_objects.png\" alt=\"\" width=\"798\" height=\"534\" \/><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16256 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/llms_logo.png\" alt=\"\" width=\"592\" height=\"336\" \/><\/td>\r\n<\/tr>\r\n<tr style=\"border-bottom: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><a href=\"https:\/\/www.mathworks.com\/help\/vision\/ug\/detect-small-objects-using-tiled-training-yolox.html\">Detect Small Objects Using Tiled Training of YOLOX Network<\/a><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><a href=\"https:\/\/github.com\/matlab-deep-learning\/llms-with-matlab\/blob\/v3.1.0\/examples\/RetrievalAugmentedGenerationUsingChatGPTandMATLAB.mlx\">Retrieval Augmented Generation Using ChatGPT and MATLAB (GitHub)<\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h6><\/h6>\r\nFor natural language processing (NLP), check out the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/163796-large-language-models-llms-with-matlab\">Large Language Models (LLMs) with MATLAB<\/a> repository, which also provides examples with LLMs. In a <a href=\"https:\/\/blogs.mathworks.com\/deep-learning\/2024\/01\/22\/large-language-models-with-matlab\/\">previous blog post<\/a>, we described some of the NLP tasks you can tackle by using the code in the repository. <a href=\"https:\/\/blogs.mathworks.com\/deep-learning\/2024\/07\/09\/local-llms-with-matlab\/\">This blog post<\/a> focused on accessing local LLMs.\r\n<h6><\/h6>\r\n&nbsp;\r\n<h6><\/h6>\r\n<p style=\"font-size: 20px;\"><strong>AI Applications<\/strong><\/p>\r\n&nbsp;\r\n<table width=\"90%;\">\r\n<tbody>\r\n<tr style=\"border-top: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16265\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/signalprocessing.png\" alt=\"\" width=\"73\" height=\"73\" \/><\/td>\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16268\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/wireless.png\" alt=\"\" width=\"77\" height=\"56\" \/><\/td>\r\n<\/tr>\r\n<tr style=\"border-bottom: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf; font-size: 16px;\">\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"45%\"><a href=\"https:\/\/www.mathworks.com\/solutions\/artificial-intelligence\/ai-signal-processing.html\"><strong>AI for Signal Processing<\/strong><\/a><\/td>\r\n<td style=\"padding: 10px; text-align: center; border-right: solid 1px #bfbfbf;\" width=\"45%\"><a href=\"https:\/\/www.mathworks.com\/solutions\/wireless-communications\/ai.html\"><strong>AI for Wireless Communications<\/strong><\/a><\/td>\r\n<\/tr>\r\n<tr style=\"border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16271 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/FaultDetectionInVibrationSignalsUsingFeatureExtractionExample_04.png\" alt=\"\" width=\"1198\" height=\"449\" \/><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16274 size-full\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/CompareResidualRNNStructuresDPDDesignExample_01.png\" alt=\"\" width=\"712\" height=\"493\" \/><\/td>\r\n<\/tr>\r\n<tr style=\"border-bottom: solid 1px #bfbfbf; border-left: solid 1px #bfbfbf;\">\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><a href=\"https:\/\/www.mathworks.com\/help\/signal\/ug\/machine-and-deep-learning-classification-using-signal-feature-extraction-objects.html\">Machine Learning and Deep Learning Classification Using Signal Feature Extraction Objects<\/a><\/td>\r\n<td style=\"padding: 10px; border-right: 1px solid #bfbfbf; text-align: center;\" width=\"45%\"><a href=\"https:\/\/www.mathworks.com\/help\/comm\/ug\/compare-residual-rnn-structures-dpd-design.html\">Compare Residual Recurrent Neural Network Structures for Digital Predistortion Design<\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h6><\/h6>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2024\/09\/compressiontopicintroductionillustration.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><p>\r\nIn my last post, I talked about new AI features introduced with MATLAB R2024b - the latest release, which is now available to you. In this blog post, I am going to present a few new and exciting... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/deep-learning\/2024\/09\/24\/apply-ai-with-new-r2024b-examples\/\">read more >><\/a><\/p>","protected":false},"author":194,"featured_media":16172,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[36,9,5,12,59],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts\/16160"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/users\/194"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/comments?post=16160"}],"version-history":[{"count":40,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts\/16160\/revisions"}],"predecessor-version":[{"id":17366,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts\/16160\/revisions\/17366"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/media\/16172"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/media?parent=16160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/categories?post=16160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/tags?post=16160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}