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 20 of 208 Ask a Question
How to calculate a angle between two vectors in 3D
Paulo Oliveira · Jan 11, 2024 · AI, Data Science, and Statistics , Statistics and Machine Learning Toolbox , Probability Distributi

Hi, I have a question, I have a table with 12 reference points   if true % POINT X Y Z 1 0 0 0 2 70.5 0 0 3 141 0 0 4 141 0 141.5 5 70.5 0 141.5 6 0 0 141.5 7 0 137.5 0 8 70.5 137…

How to find angle between two lines?
kshitijsingh789 · Jan 11, 2024 · find angle between... , matlabsolutions , Matlab

For example, there is line L1 between two points (x1,y1) and (x2,y2). Another line L2 between points (x1,y1) and (x3,y3). I want to find the angle between the lines L1, L2. How to …

How to completely extract the green pixels from this image?
Malini · Jan 10, 2024 · binary image , image processing , color segmentation , Image Processing and Computer Vision , Image

I have used this code to extract only the plant canopy.   inimage = imread('AA100401.jpg'); %// type uint8 mask = inimage(:,:,1)…

How to get the value of slopes of pchip at the enpoints?
David Gillcrist · Jan 8, 2024 · interpolation , MATLAB

I'm using pchip to interpolate a set of data X. After getting the interpolation, I'm trying to have functions g and f, connect to the endpoints of the interpolation. I want g and f…

How to compare contours?
Gail Distefano · Jan 2, 2024 · image analysis , roi comparison , Surfaces, Volumes, and Polygons Volume Visualization , Vector V

In the attached file is a matrix of dose_data for a piece of radiographic film I have irradiated, and respective x and y coordinates for the film.   I can plot specific dose lines…

how to import csv file in matlab
Nur Zakaria · Dec 29, 2023 · readtext , Robust Data File Reading utility (RDFREAD) , matlab , Matlabsolutions

Hi, I have one question. I need to import data into MATLAB from a CSV file. Unfortunately, the data has header information in 3 columns.   How do I skip the headers and get the da…

Get a Free Consultation or a Sample Assignment Review!