Answered
How to divide the pores from the image
Try this: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % Erase all e...

1 day ago | 0

Answered
proportion of gender having health issue
Assume t is your table and you have a column for gender, a column with HealthScore (true or false), and a column for their score...

1 day ago | 0

| accepted

Answered
Hi guys help pls I am in an exam I could'nt solve this question
Hint: x = 0 hasArrow = 1; hasDagger = 0; for k = 1 : 100000 % Experiment number for moves = 1 : 100 % Moves number ...

1 day ago | 0

Answered
How to bypass a directory that is not exist?
Try isfile(): %load data s_Initial = 1; s_Final = 100; B_Initial = 1; B_Final = 3; % merging Data Subjects_ID = []; Bloc...

2 days ago | 2

Answered
Matlab installation from flash drive
You won't need to repurchase it. You own a license for as long as your license agreement says you own it. I could completely u...

2 days ago | 0

Answered
how to display images in separate figures?
What is the extension? Let's say it's png, and you have im1.png, im2.png, etc. So see the FAQ: https://matlab.fandom.com/wiki/...

2 days ago | 1

Answered
calling a variable in another function
Pass it in when you call the second function: function LookupTableFiles = getaerotablelisting( FilePrefix, DirectoryName , file...

2 days ago | 1

Answered
How to design info tab for GUI?
Try a search: https://www.mathworks.com/matlabcentral/answers/?term=tabs+guide

3 days ago | 0

Answered
How does the imhist function work for RGB image?
Did you try to look at the source code >> edit imhist.m Also, see attached demo. You might like it.

3 days ago | 1

| accepted

Answered
How to find rotation matrix from 4 rectangle points
Wouldn't the rotation matrix be rotMatrix = pDistorted \ pStraight

3 days ago | 0

Answered
apply otsu's method in stripes
Yes. I do it in this demo. Adapt as needed.

3 days ago | 0

Answered
Convolution of an image.
I think you want buffer = conv2(double(I),M, 'same'); imshow(buffer, []);

3 days ago | 0

Answered
Multialign Error: Matrix dimensions must agree
Fasta must be a linear index like 1,2,3 etc. or a logical index like true or false. It cannot be a structure. If I have a vect...

3 days ago | 0

Answered
Powerpoint content of placeholders
What I usually do is to record a macro to do what I want. Then I create an ActiveX server to do the same commands from MATLAB. ...

3 days ago | 1

Answered
Define the entire plot package
Did you specify those by code? If so, then you can just encapsulate all those things into a function. Or did you manually chan...

3 days ago | 0

| accepted

Answered
How to rotate?
han han, I have not heard back from you so I assume you had trouble adapting my demos. So I did the thing 100% for you to give ...

3 days ago | 3

| accepted

Answered
How to rotate?
See my attached demos.

3 days ago | 1

Answered
How can I save the final output in a matrix without manually save it on the image panel using patch?
Use exportgraphics() (introduced in r2020a). For example: exportgraphics(gca,'myplot.jpg','Resolution',300)

3 days ago | 0

Answered
Read from/write to txt file
Try this: promptMessage = sprintf('Select your text file on the next dialog box.'); titleBarCaption = 'Continue?'; buttonText...

3 days ago | 0

| accepted

Answered
How to split an image and find the coordinates of points already determined
Define "half". Is it based on the caliper width from left to right? Or is it based on the number of pixels in each half (you w...

3 days ago | 1

Answered
Detecting transition in a noisy square wave
Madjer, I think simple thresholding with removal of short pulses should work. Just remove pulses that are shorter than the know...

3 days ago | 1

| accepted

Answered
How to extract objects in inner circle of this image?
It's pretty easy. I suggest you first find all centroids and then find the average of the centroids, which will be at the cente...

3 days ago | 0

| accepted

Answered
How to plot with diferents colors
See attached demos.

3 days ago | 0

Answered
Shade area between a curve and a vertical line and the x axis
This is a FAQ: FAQ How_do_I_shade_the_region_between_two_curves?

3 days ago | 0

Answered
Problem with applying a function (kstest) to cell arrays
Is this what you're looking for? s = load('C.mat') C1 = s.C numCells = length(C1) for k = 1 : length(C1) thisArray = C1{k}...

4 days ago | 1

Answered
how to find FWHM in histogram
Try this (untested): counts = histcounts(data); maxCounts = max(counts); leftBin = find(counts > maxCounts/2, 1, 'first') ri...

4 days ago | 0

| accepted

Answered
Present 0 with white pixel and 1 with black pixel in matrix
imshow(~A);

4 days ago | 0

| accepted

Answered
blank screen on startup
Looks like the route to solving your problem is in the FAQ: Click here for the relevant FAQ entry

4 days ago | 0

Answered
change color scheme of a scatter plot
Try this: % values <= 10 ----- green color % (10<values<=20) ----- yellow color (for intermediate values i.e f...

5 days ago | 0

| accepted

Answered
Does MATLAB come with a toolbox label ids for multiple object tracking?
Yes, the Computer Vision Toolbox: https://www.mathworks.com/products/computer-vision.html#object-tracking

5 days ago | 0

Load more