Answered
Hello everyone, I need help. I am working on a robot arm project using MATLAB and a webcam to detect colors. Do you have any lessons or tutorials for me?
Sounds like you have a very controlled environment with known and fixed colors. What you could do with the image is to first ma...

1 year ago | 0

| accepted

Answered
Connecting points on opposite end of mask
If you can get the inner boundary and outer boundary as separate arrays, then it would be easy to find the boundary point closes...

1 year ago | 0

Answered
I am trying to find each particle area and each particle intensity through matlab.
Not sure what you mean by "Gaussian method" or by "I want to calculate individual or each particle intensity not the mean intens...

1 year ago | 0

Answered
How can I extract the crack from the noise and human drawn grid lines?
What I would do is to first get rid of the grid lines, then analyze what's left for cracks. To determine the grid line location...

1 year ago | 1

| accepted

Answered
background subtraction to detect human
If the common background is not zero then the images are not registered (aligned) or the brightness (pixel values) of the backgr...

1 year ago | 0

Answered
Estimate area under a curve using finite approximations (lower sum with 4 rectangles of equal length)
Try this: f= @ (x) x.^2; x1=0; x2=1; n=4; totalArea=0; dx=(x2-x1)/n; % width of rectangle x = linspace(x1, x2, ...

1 year ago | 1

Answered
your mathworks account login session has expired
I've notified the Mathowrk account team of the issue and they are looking into it. In the meantime, someone called them and the...

1 year ago | 1

Answered
Stuck in installation process after accepting terms of license agreement
Try the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation,_the_installer_crashes,_hangs,_gives_an_error_message,_does...

1 year ago | 2

| accepted

Answered
How can I plot a 3D parabolic trajectory?
For what it's worth, see my attached demo where I compute just about everything you could want to know about a projectile and it...

1 year ago | 1

Answered
Help my password doesn't work to install updates
Can you login to the mathworks.com site from your internet browser with the same password? If not, try changing it then logging...

1 year ago | 1

Answered
How to remove least significant bits in a pixel.
A simple method that works for both color and gray scale images is to use bitand: inputImage = imread('lena.jpg'); % Set last ...

1 year ago | 0

Answered
how to convert index image into rgb image
When you did this: [X1,cmap]=imread('c09_1.tif'); Did you check the value of cmap? It's probably empty and so passing it to i...

1 year ago | 1

Discussion


Stock Market Volatility
It seems like the financial news is always saying the stock market is especially volatile now. But is it really? This code wil...

1 year ago | 1

Answered
How can I use table() with a variable number of columns?
Yes, you're going to have to do something. If you have more variables that you want to add to a column or columns you want to r...

1 year ago | 0

Answered
Matlab system command to run exe with inputs not working, command window pop-up
Did you leave anything out or is that exactly as you have it in the command window? Like are there any spaces in the program, l...

1 year ago | 0

Answered
Emergency
To make a .wav file from data, see the attached demo.

1 year ago | 0

Answered
Splitting two nearly overlapping curves
I have a demo that will fit multiple (6 in the demo) Gaussians to a curve. Change the variable in the demo if you want some oth...

1 year ago | 1

Answered
How to get a smooth scalar field on regular grids from irregularly distributed sample data?
See my attached scattered interpolant demo. It will make a smooth function everywhere. If you don't want it for certain pixels...

1 year ago | 0

Answered
Need a tangent line in my plot like the example provided but I cannot seem to do it
RhtFitted = linspace(5, 10, 1) gives only a single value, so of course no line will be plotted. You need at least two points t...

1 year ago | 0

Answered
How to present the content of a field in a program?
Try this: a.a=234.5; a.b=444; a.s='This is an example'; a fn = fieldnames(a) str = sprintf('a = \nstruct with fields:'); ...

1 year ago | 1

| accepted

Answered
Matlab 'try now' and contact customer service doesn't work
Yes, there are all kinds of problems with everybody due to some greedy evil criminals that tried to blackmail Mathworks via a ra...

1 year ago | 1

Answered
When will reading Mono12 Motion JPEG2000 (.MJ2) data with VideoReader be fixed? (2024a, 2024b, 2025a)
Thomas, It looks like it's still in the current version, R2025a, according to the bug report, so that means you're probably be w...

1 year ago | 1

| accepted

Answered
Cannot acquire a MATLAB license.
The license center still has a degradation resulting from the ransomware attack. See https://status.mathworks.com/

1 year ago | 0

Answered
I want to remove noise from my audio signal by simplest method?
For the simplest (but not necessarily the best or most accurate) try sgolayfilt() or movmean(). Is your combined a 1-D mono sig...

1 year ago | 0

Answered
How can I place a linear regression line (line of best fit) through both plots in this code, but only from the halfway point to the end?
Do you already have the "linear distribution" and "chord and twist distribution"? Is that what columns 2 and 3 are? You are ...

1 year ago | 0

Answered
Request for access to the "Deep learning Toolbox" license
I'd do what it says. Who gave you the initial information on how to install MATLAB? I'd contact that person or department.

1 year ago | 2

Answered
simscape multibody link entering email is not working
See https://status.mathworks.com/ The fixes are starting to come through, for example Answers is now mostly working.

1 year ago | 0

| accepted

Answered
I cant downlader the Matlab and the answer error
They know. See https://status.mathworks.com/ They're in the process of recovering from a ransomware attack. Answers is partia...

1 year ago | 0

Answered
waht is wrong with the network?I can not downlow anything from matlab(such as Mingw-win64,stm32supportpackage).And i can not open the MATLAB Answer
See https://status.mathworks.com/ "MathWorks experienced a ransomware attack. We have notified federal law enforcement of this...

1 year ago | 0

Answered
"no healthy upstream" error when trying to access My Account
See https://status.mathworks.com/ "MathWorks experienced a ransomware attack. We have notified federal law enforcement of this...

1 year ago | 3

| accepted

Load more