Respondida
Need help increasing the speed of my code processing .xlsx files
I'd try using readmatrix or readcell instead of xlsread and see if that helps.

alrededor de 3 años hace | 0

| aceptada

Respondida
Split repetitive image to find pattern
Screenshots would help. Does your template (pattern you're searching the larger image for) change size or rotation when it's in...

alrededor de 3 años hace | 0

Respondida
Matlab GUI: Using a custom object tag for a button
Not sure what you mean by "read the variable". You know the callback function name so just use the known name of the button. F...

alrededor de 3 años hace | 0

Respondida
I'd like to remove variables (columns) containing specifc name
Try this: % Create sample table. rows = 5; xxxx_A = 1:rows; yyyy_B = rand(rows, 1); col3 = rand(rows, 1); t = table(xxxx_A...

alrededor de 3 años hace | 0

Respondida
Why does my histogram go out of its frame?
I am not able to reproduce in either R2022b or R2023a. It looks perfectly fine. I'd call tech support. Maybe try a different ...

alrededor de 3 años hace | 0

Respondida
I want to add the author's name and title of word document file using the matlab code. I get the error: 'Index exceeds matrix dimensions'.
See Mathworks support article: https://www.mathworks.com/matlabcentral/answers/99160-how-to-change-the-internal-properties-of-a...

alrededor de 3 años hace | 0

Respondida
add image to legend label
See attached inset demos.

alrededor de 3 años hace | 0

Respondida
Kmeans clustering to detect pothole
@Muhammad Zulkifli I agree with DGM and Walter's answers above, with the caveat that it will work only with potholes filled with...

alrededor de 3 años hace | 0

Respondida
How to solve exponential variables
OK, here it is adapted with your actual data. Note that it does not look like an exponential decay at all. % Uses fitnlm() to ...

alrededor de 3 años hace | 0

| aceptada

Respondida
How to solve exponential variables
See attached demo. Adapt it to use your data instead of the data created by the demo code.

alrededor de 3 años hace | 0

Respondida
Fitting 3D data into a function
Have you tried the Regression Learner app on the apps tab of the tool ribbon? You give it a set of input predictors, and a set ...

alrededor de 3 años hace | 1

Respondida
I get an error when trying to plot
Try making V a vector, and then using ./ and .^ because it's a vector: clear q=38.89 ; %W/m^3 r_o=0.04 ; T_oo=5 ; k=0.5 ;...

alrededor de 3 años hace | 0

| aceptada

Respondida
We keep getting this error, how can we fix it?
I am not aware of a strcmps() function. Try strcmpi or contains and try [rows, columns, numberOfColorChannels] = size(im1) i...

alrededor de 3 años hace | 0

Respondida
remove negative values from one column and the corresponding data in another coloumn
Try this: rowsToDelete = data(:, 1) < 0; % Where values in column 1 are less than 0 data(rowsToDelete, :) = []; % Delete all c...

alrededor de 3 años hace | 0

| aceptada

Respondida
Annoying Matlab feature enhancements or changes in 2021 update5
You say you're using "Matlab R2011update5". There have been lots of improvements in the last 12 years. Perhaps it's time for y...

alrededor de 3 años hace | 0

Respondida
Not detecting one of the classes
Do you have enough of that class? If you didn't use many of that class in training, then perhaps it won't learn how to find it....

alrededor de 3 años hace | 0

Respondida
error message - Unrecognized function or variable ‘rec’.
You try to use the variable rec in your code, or try to call a function called rec. But that function or variable does not exis...

alrededor de 3 años hace | 0

Respondida
Dot indexing is not supported for variables of this type.
You have PHI_o=O. conj(O); So, because there is a dot after O you're telling MATLAB that the (poorly named) "O" is a structure...

alrededor de 3 años hace | 0

Respondida
How can I detect the object in this noisy image?
Why can't you just threshold? mask = grayImage > 35; Beyond that I'm not sure what you want to do. There are functions to thr...

alrededor de 3 años hace | 0

Respondida
How to draw a CIELAB color chart?
The best I can offer is https://www.mathworks.com/matlabcentral/fileexchange/51560-get_xyz?s_tid=srchtitle and the attached de...

alrededor de 3 años hace | 0

Respondida
Extract RGB values, shape and size of many objects in all images inside a folder.
See the FAQ: Process a sequence of files See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchan...

alrededor de 3 años hace | 0

Respondida
Convert bwboundaries to graph
I don't think that is the right approach. Usually what is done is you find the centroid and find the distance of the boundary p...

alrededor de 3 años hace | 0

Respondida
How to make normal distribution curve from the bar chart?
That's not a single Gaussian you have there. There are at least two of them. See attached code that can fit the data (your his...

alrededor de 3 años hace | 0

Respondida
Color's histogram and histogram's comparasion.
You're going to have to round r, g, and b because they're not integers and can't be used as indexes. Don't use image as the nam...

alrededor de 3 años hace | 0

Respondida
How to apply Gaussian blur to a specific area (oval) in an image?
Use imgaussfilt on the whole image. Then get an annular mask that is just the edges of the oval. Replace the pixels in that an...

alrededor de 3 años hace | 1

Respondida
Calculate intensity of bright and dark blobs in the image
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

alrededor de 3 años hace | 0

Respondida
Calculate intensity of bright and dark blobs in the image
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

alrededor de 3 años hace | 0

| aceptada

Respondida
Is it possible to save a corrupted .mlapp file?
The problem is you gave the name of your .mlapp file as the name for your MAT file when you saved it. This is a disaster. Basi...

alrededor de 3 años hace | 0

| aceptada

Respondida
3d plotting error - incorrect dimensions
Try using ./ instead of / and .* instead of *

alrededor de 3 años hace | 0

| aceptada

Respondida
How to remove rows in table?
Try this (untested): % Nahratie tabulky LabelData load('LabelData.mat'); % Zadanie ciest k obrazkom, ktoré chceš vymazať p...

alrededor de 3 años hace | 0

Cargar más