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 21 of 208 Ask a Question
How to calculate solidity of different shapes
naila · Dec 29, 2023 · Image Processing Toolbox , Image Filtering and Enhancement , Image Arithmetic , NucleiSegmentationB

I have an image which contains different shapes:     I want to calculate the solidity of each shape individually and pick the one which has greatest solidity;   Can any one help…

How to rotate legend in matlab 2019
CHENJianghua · Dec 28, 2023 · legend , rotate legend , MATLAB , Graphics , Formatting and Annotation

Hi, I would like to rotate the legend from horizontal layout to vertical layout, just as shown in the picture below. Could anyone share some experience about this?   Thanks for yo…

How can I determine whether a string contains a substring?
Alan Garger · Dec 27, 2023 · MATLAB , Programming , Files and Folders , Search Path

I have directory names that end in '0.0100'. I want to be able to skip certain directories by comparing the substring '0.0100' to the directory name. How can I do this?  …

How can i find the path of a file?
Arnaud Dupont · Dec 27, 2023 · MATLAB , Programming , Files and Folders , Search Path

First i will explain my situation. I have a folder that has a lot of sublevels and one of those subfolders contains the file i need.     main folder subfolder1 subfolder1.1 subfo…

How to use relative path to use matlab file in another computer
Harsha · Dec 27, 2023 · MATLAB , Programming , Files and Folders , Search Path

I have a folder in P:\study\Main. Inside the "Main" folder there is another sub folder called "Sub". There is a m file in main called "main_s.m". This refers another m file called …

How to crop the area outside the shaperfile on a map
Robson Passos · Dec 25, 2023 · interpolation , shaperfile , geoshow , imagesc

Dear,   I have a .txt file with three columns: longitude, latitude and another variable (i.e. altitude, temperature, precipitation), the data are from weather stations, I have a v…

Get a Free Consultation or a Sample Assignment Review!