답변 있음
Smooth Results from bwboundaries
If you want to smooth boundaries you can use splines or pchip. I'm attaching demos. Another option if you have a binary im...

1년 초과 전 | 0

답변 있음
Display a small matrix as a gray scale image
Try using the 'InitialMagnification' option in imshow T2 =[ 0.4706 0.9804 0.8392 0.3216 0.9804 0.8392 ...

1년 초과 전 | 0

답변 있음
how to remove old licenses
If you can't remove them by logging in to your account on the website, I'd call them on the phone and ask for sales or tech supp...

1년 초과 전 | 0

답변 있음
Take 3x3 nearest neighbours round centroids of all spots and find the median of their mean
If you've used regionprops to find the centroids or the spots, then why not simply also ask it for the mean intensities? props ...

1년 초과 전 | 0

답변 있음
Variable might be set by a nonscalar operator
If theta_deg is in degrees, you should be using the degrees version of cosine, not the radian version. In other words use cosd,...

1년 초과 전 | 1

답변 있음
This erro occurred while cheking the code - "invalid use of operator"
Don't put single quotes around your variables. And you don't need the output arguments of the filenames. You can return the x_...

1년 초과 전 | 0

답변 있음
Issues extracting fibers from an image
The attached demo, while not a complete solution for you, may be helpful in enhancing the fibers. Sorry, but it's all I have ...

1년 초과 전 | 0

답변 있음
I want to detect leaf shape by line tracing.
Do a search of this forum for the tag "leaf". There are lots of examples. Basically you can probably segment the code by color...

1년 초과 전 | 1

| 수락됨

답변 있음
Can I generate a standalone app with a trial license
I'm pretty sure you cannot compile code into a standalone app with a trial license. And I think some of the cheaper licenses wo...

1년 초과 전 | 0

답변 있음
How to make multiple lines of best fit into one scatter graph
See my attached demo. It does a piecewise linear fit over two sections, finding the best splitting point. You can adapt it to ...

1년 초과 전 | 0

답변 있음
What plugins to be installed for MATLAB
I don't know what you want to do. If you're acquiring your images from some medical imaging instrument and bringing them to you...

1년 초과 전 | 0

답변 있음
Programmatically setting a radio button from within App Designer
I wouldn't use eval. What if you just set the other buttons also if setting the one you want doesn't change the others automati...

1년 초과 전 | 0

답변 있음
Can someone rectify this code?
When you do this: out=[(1:1:10) ' fsolve(@myfun, Q0) '] it's trying to take a vector [1,2,3,4,5,6,7,8,9,10] and append a strin...

1년 초과 전 | 0

답변 있음
Plotting around zero deg. Angle
I think you have to convert to rectangular/cartesian coordinates. pol2cart might help. You can use XData and YData in imshow i...

1년 초과 전 | 0

답변 있음
The surface area won't round to one decimal place and I don't know how to get rid of the 'e's.
To get some other format displayed other than the default one, you can try to use format. If none of those built-in formats are...

1년 초과 전 | 0

답변 있음
MATLAB Optional Function Arguments
Try inputParser help inputParser

1년 초과 전 | 0

Poll


Snow where you live - love it or hate it?

1년 초과 전 | 40 votes | 6 comments

답변 있음
edge detection and comparison
What I would do is this: First use a telecentric lens - not a regular lens. Then make sure the backgrounds are the same (lik...

1년 초과 전 | 0

답변 있음
How do I process and display a 10 and 12 bit image in matlab?
Use [] to scale the actual data to whatever dynamic range your display can handle. For exampls imshow(snapshot2, [], "Parent",...

1년 초과 전 | 0

답변 있음
How to make an subscript in this specific manner?
Put the max in braces: ylabel('$u_{max}$','interpreter','latex','FontSize',14);

1년 초과 전 | 0

답변 있음
please help me to resolve this this
You're taking the largest blob in each frame. Display that blob all by itself to make sure that it's the same bubble blob risin...

1년 초과 전 | 0

답변 있음
Find least binary palindrome greater than a natural number
Can't you just do b = dec2bin(d+1) If not, then I'm not sure what you want. I'm not sure how 17 is the smallest natural numbe...

1년 초과 전 | 0

답변 있음
Activation a new computer
You can deactivate a computer you no longer have access to by logging in to your Mathworks account (avatar on the upper right). ...

1년 초과 전 | 1

답변 있음
How do I solve this issue, Error using vertcat Dimensions of arrays being concatenated are not consistent. Error in (line 22) A = [G1 +G2 +G3 -G1 -G2;
Your top row of A has 5 elements (columns) and you're trying to put a row under it that has only 3 elements (columns). You can'...

1년 초과 전 | 0

답변 있음
How do I project a map from the plane to a sphere?
Here is a demo for how to map an image onto a 2.5-D surface. The surface doesn't go all the way around in 3-D though. % Demo...

1년 초과 전 | 0

답변 있음
what is the ebst way to learn analytical Plotting
Here is the link we usually give: Best way(s) to master MATLAB? - MATLAB Answers - MATLAB Central Lots of ideas in tthe above ...

1년 초과 전 | 0

답변 있음
Compressing pixelated image blocks into array
Get rid of ones(). Hopefully this well commented demo will explain since it covers three scenarios. @Sushruta Chandramouli I t...

1년 초과 전 | 0

답변 있음
Compressing pixelated image blocks into array
Just get rid of the ones() in your fun definition: fun = @(block_struct) mean2(block_struct.data)*ones(size(block_struct.data))...

1년 초과 전 | 0

답변 있음
why is my cell array being read as char
Are you sure you're getting the class of the whole cell array instead of the class of one of the contents of one cell in the arr...

1년 초과 전 | 0

더 보기