Answered
What's the lowdown on chinese tag-team accounts posting questions+answers?
The Mathwork staff is working it behind the scenes.

3 years ago | 1

Answered
Problem finding "valleys" in signal
Is it possible your MinPeakDistance is too large? You could also try to smooth your data with movmean or sgolayfilt before usin...

3 years ago | 0

Answered
How to crop and save objects from many images?
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

3 years ago | 0

| accepted

Answered
Can I use my student license for and at work?
I would think so since your coop is part of your learning experience as a student. But you can call the sales line for an autho...

3 years ago | 1

Answered
How to remove the background from the attached image
What does "remove" mean to you? Images must remain rectangular. Using the Color Thresholder on the Apps tab of the tool ribbon...

3 years ago | 0

Answered
Split repetitive image to find pattern
If it's just a perfect replication of some tile, why can't you just scan across until a column or row is the same [rows, column...

3 years ago | 0

Answered
How to calculate mean of standard deviation (mean deviation) in a table
You forgot to attach your data, so we can't try anything with your actual data. DON'T use "table" as the name of your table bec...

3 years ago | 0

Answered
Remove static background from video
I don't think it's too hard. First you have to process some frames where the mouse is moving and get a "mode" image, which is t...

3 years ago | 0

Answered
Relation or Pattern between curves
You forgot to attach your data! It should be possible to fit any particular curve to some sigmoid kind of curve, if you have th...

3 years ago | 0

Answered
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.

3 years ago | 0

| accepted

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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 ...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
add image to legend label
See attached inset demos.

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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 ...

3 years ago | 0

| accepted

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

3 years ago | 0

Answered
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 ...

3 years ago | 1

Answered
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 ;...

3 years ago | 0

| accepted

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

| accepted

Answered
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...

3 years ago | 0

Answered
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....

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Load more