Réponse apportée
Classification leaner does not recognize the request variable(var4 )as response data.
If you have any more questions, then attach your data (your training table of predictors) and code to read it in with the paperc...

plus de 3 ans il y a | 0

Réponse apportée
Resampling a signal with respect to variable rotational speed (Angular Domain)
What is the "Order Tracking Toolbox"? It doesn't seem to come up in a list of Mathworks products. Did you try interp1 or splin...

plus de 3 ans il y a | 0

Réponse apportée
Multibandread function makes my uint8 image tingly
Possibly some of your parameters are wrong. But you forgot to attach your image so no one can check. Since the image is a mult...

plus de 3 ans il y a | 0

Réponse apportée
name value pairs are not working for plannerAStarGrid
Maybe try planner = plannerAStarGrid(map,'DiagonalSearch', 0); % or planner = plannerAStarGrid(map); planner.DiagonalSearch ...

plus de 3 ans il y a | 0

Réponse apportée
How to batch convert Microsoft Office Word documents to txt?
You have the format wrong and the function wrong. It should be a single filename to .SaveAs2 with format 16. How do I know? I...

plus de 3 ans il y a | 0

Réponse apportée
Display images instead of numbers in a Matrix.
You would have to create a blank image (canvass) and then run through your numerical matrix pasting the appropriate image onto t...

plus de 3 ans il y a | 0

Réponse apportée
Image processing and contour detection
To find average width of a blob, see attached demo.

plus de 3 ans il y a | 0

Réponse apportée
Calculate the temperature distr
The two pieces of advice I give every programmer: Use A LOT of comments. Your code falls way short here. Every for loop, at l...

plus de 3 ans il y a | 0

Réponse apportée
What is the meaning of x=x(:).'?
x=x(:).' makes it a row vector. Taking it a step at a time, using ":" in MATLAB generally means "all" but if you do (:) it will...

plus de 3 ans il y a | 1

Réponse apportée
Can't view binary image
I would use imshow also. But if you insist on using image you can do it if you multiply the logical matrix by 255: fab_img = i...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to remove white borders/space from an RGB image?
Try using imwrite with the actual image variable, not with using getframe() to get a screenshot of the displayed image.

plus de 3 ans il y a | 0

Réponse apportée
Hello I have problems detecting the edges of carotid artery in the image .Please help
Look for published algorithms here: http://www.visionbib.com/bibliography/contentsmedical.html#Medical%20Applications,%20CAT,%2...

plus de 3 ans il y a | 0

Réponse apportée
Texture segmentation with costumized gabor filters
See https://www.mathworks.com/search.html?c%5B%5D=entire_site&q=gabor%20filters&page=1 especially https://www.mathworks.com/h...

plus de 3 ans il y a | 0

Réponse apportée
How can I use the same file that the pictures are in and customize that the particular picture is the current picture?
What language do you want to do it in? That is not MATLAB code you have. Can we persuade you to switch to MATLAB, as the bett...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Data from different sized columns from different files
What is in the columns? Numbers? Try calling readmatrix for all 3 files. Strings? Try calling readcell To learn other funda...

plus de 3 ans il y a | 0

Réponse apportée
Concatenate all arrays from a field in a structure
Did you try allA = [S.A] ? Or try vertcat or horzcat If you have any more questions, then attach your data and code to re...

plus de 3 ans il y a | 0

Réponse apportée
Triangular-weighted moving average filter
Use conv and set up your kernel to be a triangle shape.

plus de 3 ans il y a | 0

Réponse apportée
Fake Currency detection project
Your Avg is 157, hence none of the if statements gets entered and none of your mat files get loaded. Avg=mean2(Igray); if(A...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How do I extract data from a structure and put them all in one single array?
You forgot to attach your data in a .mat file with the paperclip icon so we can't try it with your data. You can try these thin...

plus de 3 ans il y a | 1

Réponse apportée
How to do spectral estimation of a point process
So you have a signal emanating from a point? So you have time series data. I'd just use fft or pwelch. It doesn't matter if y...

plus de 3 ans il y a | 0

Réponse apportée
I dont understand this error in line 653 and the end goal is to make a graph
Since the file is in the same folder as the m-file, you can do fullFileName = fullfile(pwd, 'Sep_Consibio Cloud Datalog.csv'); ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to do custom equation (non linear) regression?
I usually use fitnlm (fit non-linear model). You can specify the equation you want to fit to. I'm attaching some examples of f...

plus de 3 ans il y a | 0

Réponse apportée
Problem with Frequency distribution plot
If x is not uniformly spaced then use interp1 or spline to get x and z uniformly spaced. Then call fft(z). ft = fft(z); plot(...

plus de 3 ans il y a | 0

Réponse apportée
How to loop through a specific file in various subfolders inside a main folder?
Try this robust and well commented demo: % Finds all the subfolders under a top level folder and then for each subfolder, proce...

plus de 3 ans il y a | 0

Réponse apportée
Fill area between x-y data
The polygon with the maximum density would be one that starts at one point and then snakes around until it has "grabbed" every p...

plus de 3 ans il y a | 0

Réponse apportée
The number of elements in A and B must be the same
Perhaps you want just a single random number drawn from a Gaussian distribution: randomNumber = desiredStdDev * randn(1) + desi...

plus de 3 ans il y a | 0

Réponse apportée
Create images in B/W, grayscale, RGB
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_do_I_create_a_circle?

plus de 3 ans il y a | 0

Réponse apportée
Find distance between a circle and a polygon?
You can use bwboundaries to get the (row, column) coordinates of the polygon blob. boundaries = bwboundaries(mask); b = boun...

plus de 3 ans il y a | 0

Réponse apportée
Error when reading the text file
It's a highly corrupted file - it's a dumpster fire. Numbers are missing on some lines, and many lines are blank with no ...

plus de 3 ans il y a | 0

Réponse apportée
how to find the corresponding elements in a matrix/excel
Try this: t = readtable('FinalBookExcel.csv') % Lets specify row 2, column 1 and get the value there. row = 2; t21 = t.Cotto...

plus de 3 ans il y a | 1

| A accepté

Charger plus