Réponse apportée
Empty plot is showing because of my er
Index er. This works: % Initialization steps. clc; % Clear the command window. close all; % Close all figures (except th...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Using Linear indicies to create new image
You need to label your binary image and then use ismember to extract out just certain ID(s) to a new binary image. For example ...

plus de 2 ans il y a | 0

Réponse apportée
Using a 'for' loop within the app designer
I don't know what callback that code is for. Presumably you have a pushbutton on your GUI that says something like "Go!" or "Co...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Hello! I need some help solving linear equations for the coefficients
@Álvaro you should have done it like this: % Liz buys three apples, a dozen bananas, and one cantaloupe for $2.36. % Bob buys...

plus de 2 ans il y a | 0

Réponse apportée
import and export of excel sheet work
OK, you seem to do that. The loop in the (horribly uncommented) code computes Cf, Nu, and Sh. To create another sheet you need...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
matlabr2023b使用clc命令时报错
See some of the links on the right hand side of this page. Or else see the FAQ: https://matlab.fandom.com/wiki/FAQ#After_instal...

plus de 2 ans il y a | 0

Réponse apportée
This Matlab code is saying Index in position 1 is invalid. Array indices must be positive integers or logical values.
See the FAQ for a thorough discussion: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_inte...

plus de 2 ans il y a | 0

Réponse apportée
Features selection - Supervised learning
Why not use Principal Components Analysis? help pca Look at the "Explained". It will tell you the relative importance of the d...

plus de 2 ans il y a | 0

Réponse apportée
Overlay two images using transparency
Possibly of interest to you is Steve's blog: How to overlay a foreground image over a background image? - MATLAB Answers - MATL...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Select for regions of interest in image analysis
See my attached demo to get the mean of each frame. It could easily be adapted to give the mean of each blob if there are sever...

plus de 2 ans il y a | 0

Réponse apportée
Creating code that will recognize colors on a plot.
Simply use the Color Thresholder on the Apps tab of the tool ribbon. Use HSV or LAB color space. Adjust the sliders to segment...

plus de 2 ans il y a | 0

Réponse apportée
How to segment an image of an object from it body with the presence of shadow with same or lower intensity value?
First you can ask bwareafilt to give you only blobs that fall into a certain size range (range of area in pixels). mask = bwa...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Common legend for each row of tiled layout
Did you try title or sgtitle?

plus de 2 ans il y a | 0

Réponse apportée
how to averging the average the images in the folder
See my attached demo.

plus de 2 ans il y a | 0

Réponse apportée
Why some numeric edit fields become empty right after clicking calculate button in app designer?
You probably set the text property of the edit text box to null. Or maybe your text has a line feed at the beginning and you ha...

plus de 2 ans il y a | 0

Réponse apportée
I need to plot a graph for this physics problem and I don't know how to do it.
It's a bit tricky. So the marble is at the bottom of a sphere with no water in it and you flick it. It sails upward along the ...

plus de 2 ans il y a | 0

Réponse apportée
how to import multiple csv file in matlab?
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files? If you still can't figure it out, attach...

plus de 2 ans il y a | 0

Réponse apportée
Cropping Irregular Images on MatLab
Believe it or not I've done this. Worked on it for many, many years and it's been in production use for over 20 years. Now the...

plus de 2 ans il y a | 0

Réponse apportée
Error using edfinfo Expected input to be integer-valued.
Just how gigantic is your EEG signal? I can't imagine it would be very big, like more than a few MB or so. Are we talking tens...

plus de 2 ans il y a | 0

Réponse apportée
How to combine three colour channels into the 'best' sRGB representation using a colour checker chart?
Shouldn't be too hard. So you have 3 gray scale images, one with a red filter, one with a green filter, and one with a blue fil...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
This is a code that my team has been trying to fix but with no luck. There is one line on the graph that looks correct but the rest are all very small and wrong.
Yes, because the scale of the different plots is several orders of magnitude different so you can't see most of them if you use ...

plus de 2 ans il y a | 0

Réponse apportée
Does anyone know how to load .mat file into app designer for plotting?
Try this: s = load('SBC1.mat') Don't use a semicolon and type that into the command window. What do you see? It should list...

plus de 2 ans il y a | 0

Réponse apportée
Use same colorbar on new figure
After you've called figure and imshow to create your second image, call colorbar again cmap = hot(256); colormap(cmap); color...

plus de 2 ans il y a | 0

Réponse apportée
test the mathlab solution of precipitation
Your "A" is a structure and so summing it leads to an error. You need to extract the array from the structure. I don't know wh...

plus de 2 ans il y a | 0

Réponse apportée
How do I upload an image to Matlab to read in progam?
Try imread help imread See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic,...

plus de 2 ans il y a | 0

Réponse apportée
Matlab don't work
See the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_...

plus de 2 ans il y a | 0

Réponse apportée
Generate a group of random number
Try this and see if it works for your purposes. r = 0.5 * randn(20000, 1); histogram(r); grid on; theMean = mean(r) stDev =...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
How to extract only the object and get the extreme coordinates?
Try bwferet. help bwferet

plus de 2 ans il y a | 0

Réponse apportée
Assign values from an matrix to another by using row and column indexes -- array exceeds maximum array size preference
You can just use the logical image. Don't use find or rows or columns at all. Simply do mask = image1 == 1; % Logical image. ...

plus de 2 ans il y a | 1

Réponse apportée
How to Remove Tail from Segmented Circle
Another solution might be possible. How much do you know about the tail? Is it always about that thickness, and the ventricle ...

plus de 2 ans il y a | 1

Charger plus