Réponse apportée
how to solve this problem, when run a exe
You can get any MCR from here: https://www.mathworks.com/products/compiler/matlab-runtime.html

presque 3 ans il y a | 0

Réponse apportée
Complex Roots of a quadratic function
Why not call the built-in roots function? help roots

presque 3 ans il y a | 0

Réponse apportée
Error when upload image to GUI
You do not have an axes with the name axes2. Open up GUIDE, click on all your axes controls, and look at the "Tag" property. S...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Color Label Image By Region Property
You can still use label2rgb -- just construct your colormap so that each row has the color you want for that particular blob (ba...

presque 3 ans il y a | 1

Réponse apportée
How do I do a regress like this?
Not sure why you need a regression. How about this to just find out the percentage decrease at each time point. Then compute t...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
Magnify Surface Blobs and Paint Them
Well there are two ways to draw outlines of the original and enlarged region. Use bwboundaries to get the outline of the segmen...

presque 3 ans il y a | 0

Réponse apportée
How to fix problem with subplot and for loop
N_fact=0.2:0.6:4 numel(N_fact) You can see that you need at least 7 plots but with "3,2" you're setting up a layout of only 6 ...

presque 3 ans il y a | 0

Réponse apportée
How do I add commas to numbers using fprintf?
See my attached utility function that inserts commas to make a string out of a number. Then in your fprintf you print the strin...

presque 3 ans il y a | 0

Réponse apportée
Why do I receive license manager error 10?
A search of this forum should have turned up this official link: https://www.mathworks.com/matlabcentral/answers/93260-why-do-i...

presque 3 ans il y a | 0

Réponse apportée
Defining boundaries of a curve
"what I'm trying to do is akin to density-based clustering" You might like to learn about dbscan help dbscan Wikipedia descri...

presque 3 ans il y a | 0

Réponse apportée
Show boundingbox and label around segmented image
If C is your labeled image, untested code: props = regionprops(C, 'BoundingBox'); hold on; % Display all bounding boxes over ...

presque 3 ans il y a | 0

Réponse apportée
How to plot these results?
Go here for plot options: https://www.mathworks.com/products/matlab/plot-gallery.html Pick one you like and adapt the sample c...

presque 3 ans il y a | 0

Réponse apportée
How to resize imtool window?
Rather than keep resizing the imtool window as the user zooms in or out, why not just maximize the window at the very beginning ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
bwlabel changes the number of pixels in blobs
Your image is not a binary image. It's an RGB image. bwlabel returns a labeled image as a double, not a binary image as you sh...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
how "atestinput" could be recogrnised in matlb and how it is calculated in testing of image clasification؟
MATLAB will automatically create/define variables using the class of the first thing assigned to them. By the way, I would not ...

presque 3 ans il y a | 0

Réponse apportée
images issues on Ubuntu
Do what it says in the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_message_whe...

presque 3 ans il y a | 0

Réponse apportée
How do I zero out a frequency of an audio signal?
Did you try something like spectrum = fft(signal); spectrum(kt-200 : kt+200) = 0; denoisedSignal = ifft(spectrum); if kt is ...

presque 3 ans il y a | 0

Réponse apportée
I get the error:index in position 1 is invalid. array indices must be positive integers or logical values
It's thoroughly discussed in the FAQ: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_inte...

presque 3 ans il y a | 0

Réponse apportée
Fatal Startup Error on R2022b
Do exactly what it says in the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_mes...

presque 3 ans il y a | 0

Réponse apportée
Not Enough Input Arguements (Line 9)
You need to call your function's file importfile.m, not data.m. Then you need to call it like this: importfile('c:\mydata\what...

presque 3 ans il y a | 0

Réponse apportée
Hello good... I would like to know how I can skip the comments header of a text file with data for a graph please :c
@Lya Lopez, You can use readmatrix with the NumHeaderLines option: data = readmatrix(filename, 'NumHeaderLines', 3); % Skip fir...

presque 3 ans il y a | 0

Réponse apportée
How can I delete data from my table if two centroids from regionprops are the same?
Chances are low that you will ever have the same centroid location exactly, out to 16 decimal places. I suggest you use ismembe...

presque 3 ans il y a | 0

Réponse apportée
Hello everyone How could I get a video of the following animation?
Use writeVideo. See attached examples where I change a plot/graph/surface plot and make a movie out of the individual frames. ...

presque 3 ans il y a | 0

Réponse apportée
bwconncomp reports only one connected component when there are obviously many hundreds
There is just one connected, semi-porous blob as you can see from the screenshot below: s = load('imt2.mat') imt2 = s.imt2; p...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How would I plot and connect two points properly?
Instead of those two plot calls, do it this way. x=1; y=3; a=2; b=1; plot([x, a], [y, b], 'm-d', 'LineWidth', 2, 'MarkerSiz...

presque 3 ans il y a | 1

Réponse apportée
Plotting functions using subplot
% f(x) = 3 sin2 (x) + cos(x/2), x ∈ [−3, 6.5] % g(x, y) = x 4 − 8y 2 + x + 4, x, y ∈ [−5, 5] % r(φ) = 2 + cos(5φ), φ ∈ [0, 2...

presque 3 ans il y a | 0

Réponse apportée
Determining Signal to Noise Ratio
You need to smooth the data somehow, like with movmean, movmedian, or sgolayfilt. Then once you have the "noise free signal, yo...

presque 3 ans il y a | 0

Réponse apportée
How to code NESTED CYCLES
Check them in advance: if isempty(b) % What to do return; end if isempty(f) % What to do return; end fo...

presque 3 ans il y a | 0

Réponse apportée
Problem with 'InsertShape'?
There is probably extra points in the outlines, "Points". If you had attached your data, we could have helped you.

presque 3 ans il y a | 0

Réponse apportée
what item do I need?
Learn how to use App Designer: https://www.mathworks.com/products/matlab/app-designer.html

presque 3 ans il y a | 0

Charger plus