MATLAB Solutions & Expert Answers

Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.

MATLAB expert answering student questions
Showing page 16 of 208 Ask a Question
How to fix a syntax in the oscillators plot code?
Jenni · Feb 14, 2024 · plotting , figure , subplot , code

My assignment would be to observe harmonic oscillator. I have created a function for the driven oscillator's equation of motion. My problem is that now my code is plotting the resu…

Problem with standard methods of smoothening in Signals
Satya · Feb 12, 2024 · signal processing , frequency , noise ,

I'm encountering a challenge in MATLAB related to signal processing using the Signal Processing Toolbox. I have a noisy signal that I need to filter to extract meaningful informati…

How to fill in a zeroes matrix using data from a separate array?
Bella Alcock · Feb 12, 2024 · MATLAB , Language Fundamentals , Matrices and Arrays , Resizing and Reshaping Matrices

I am trying to work out how to fill in a matrix of zeroes to represent precedence requirements.   I have a 40x40 matrix of zeroes, and each collumn and row represent the tasks 1:4…

How do you find the centroid of a particular Blob?
KLETECH MOTORSPORTS · Feb 8, 2024 · blob , blob analysis , Image Processing and Computer Vision , Image Processing Toolbox , Image Segme

I have the following code:   clc; clear all; % This part reads and shows the image selected I = imread('115.2.jpg'); imshow(I) % Ginput is used to select the Hinge position [x,y] …

How to create RGB image with 3 bands from hyperspectral image?
Duygu Ocal · Feb 8, 2024 · Image Processing and Computer Vision , Image Processing Toolbox , Hyperspectral Image Processing ,

Hi, I have a Hyperion EO-1 satellite image and i want to create an RGB band with band numbers (40,31,13) as (R,G,B). The hyperion image has 242 bands. But I'm having trouble openin…

How can I use the elements of 'PixelValues' of 'regionprops'?
Faraz · Feb 8, 2024 · matlab , image processing , Image Processing and Computer Vision , Image Processing Toolbox

Hello,   I have been able to extract the pixel values of the grayscale image using regionprops (I think). I did so by using this code     img = rgb2gray(imread('W1\Writer1_01_02…

How to select a roi in greyscale image and put values to zero?
Jason · Feb 7, 2024 · Image Processing and Computer Vision , Image Processing Toolbox , Image Filtering and Enhancement ,

Hello, i have a 12bit greyscale image (tiff) which I want to be able to draw a rectangular roi and fill these values to zero (i.e. black)   This is my code, I cannot see where I a…

Get a Free Consultation or a Sample Assignment Review!