Reader small image

You're reading from  MATLAB for Machine Learning - Second Edition

Product typeBook
Published inJan 2024
Reading LevelIntermediate
PublisherPackt
ISBN-139781835087695
Edition2nd Edition
Languages
Tools
Right arrow
Author (1)
Giuseppe Ciaburro
Giuseppe Ciaburro
author image
Giuseppe Ciaburro

Giuseppe Ciaburro holds a PhD and two master's degrees. He works at the Built Environment Control Laboratory - Università degli Studi della Campania "Luigi Vanvitelli". He has over 25 years of work experience in programming, first in the field of combustion and then in acoustics and noise control. His core programming knowledge is in MATLAB, Python and R. As an expert in AI applications to acoustics and noise control problems, Giuseppe has wide experience in researching and teaching. He has several publications to his credit: monographs, scientific journals, and thematic conferences. He was recently included in the world's top 2% scientists list by Stanford University (2022).
Read more about Giuseppe Ciaburro

Right arrow

Working with different types of data

Working with different types of data involves understanding their specific formats and applying appropriate techniques for manipulation and analysis. Here are some common types of data and general considerations for working with them.

Working with images

In MATLAB, working with images involves loading, displaying, and performing various operations on image data. Here’s a brief overview of how to work with images in MATLAB:

  • Loading an image: We can load an image into MATLAB using the imread() function. It reads the image file and returns a numeric array representing the image data. Here’s an example:
    img = imread('coliseum.jpg');
  • Displaying an image: MATLAB provides the imshow() function to display an image. It opens a separate window and shows the image. Here’s an example:
    imshow(img);
  • Manipulating an image: MATLAB offers a wide range of functions to perform various operations on images. For example...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
MATLAB for Machine Learning - Second Edition
Published in: Jan 2024Publisher: PacktISBN-13: 9781835087695

Author (1)

author image
Giuseppe Ciaburro

Giuseppe Ciaburro holds a PhD and two master's degrees. He works at the Built Environment Control Laboratory - Università degli Studi della Campania "Luigi Vanvitelli". He has over 25 years of work experience in programming, first in the field of combustion and then in acoustics and noise control. His core programming knowledge is in MATLAB, Python and R. As an expert in AI applications to acoustics and noise control problems, Giuseppe has wide experience in researching and teaching. He has several publications to his credit: monographs, scientific journals, and thematic conferences. He was recently included in the world's top 2% scientists list by Stanford University (2022).
Read more about Giuseppe Ciaburro