Respondida
Low pass filter for image
Use fft2, then zero out anything beyond 0.13. I'll leave it to you to figure out what index that is in the spectral image. Thi...

alrededor de 3 años hace | 1

Respondida
Sampling frequency for image
Why do you expect only two spatial frequencies. You know that you don't have an infinite cosine wave, right? You know that it ...

alrededor de 3 años hace | 0

| aceptada

Respondida
I have a 5x6 matrix. I want to calculate sum of only those values which are consecutive nonzero along each row. How to do that? The desired result given in description box.
a = [2 3 1 4 0 0; 0 0 0 0 0 0; 0 0 1 5 7 0; 0 0 0 0 4 0; 4 5 0 0 6 8]; desired_result = [10;0;13;0;23] des...

alrededor de 3 años hace | 0

Respondida
Addaxis (multiple y axis on left side)
See this: https://www.mathworks.com/matlabcentral/fileexchange/67349-plot-with-multiple-y-axes

alrededor de 3 años hace | 0

Respondida
Opening .mat file using matlab
Try storedStructure = load('C:\Users\X360\Desktop\My Thesis\third trial') All the variables stored in that mat file will be fi...

alrededor de 3 años hace | 0

Respondida
I am experiencing difficulties in detecting disks within a grayscale image
Looks like most of the circles have a bright dot in the middle. Try a tophat filter. It's good at finding bright blobs on vary...

alrededor de 3 años hace | 0

Respondida
Doubt regarding image processing part in a project of fire extinguisher system
There are multiple ways to do things. You could do it all with an Arduino, using the Arduino language, if you want. MATLAB als...

alrededor de 3 años hace | 0

Respondida
Having error 'Invalid array indexing'. Please help me to solve this issue
What is f? If f is a function you can't do this: f(t(i), v1_euler(i), v2_euler(i))(1) You'd need to get the results (returned...

alrededor de 3 años hace | 0

Respondida
Buy a license for Matlab 2023 Home in Italy.
Try calling the office in Italy. I'm sure they can tell you. Call us Office Hours Monday-Thursday 09:00-18:30 Local Time...

alrededor de 3 años hace | 0

Respondida
Alphashape boundary detection not working as desired
Try imfill BW = imfill(BW, 'holes');

alrededor de 3 años hace | 0

Respondida
How can I get a right solution?
If 10^-17 is not close enough for zero, what precision do you need? See the FAQ: https://matlab.fandom.com/wiki/FAQ#Why_is_0.3...

alrededor de 3 años hace | 0

Respondida
How to share the app you have designed to the user who does not have MatLab?
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_make_a_standalone_executable_from_my_MATLAB_code?

alrededor de 3 años hace | 0

Respondida
Issue with MATLAB not finding my excel file even though its in the same folder as the .exe
Try the FAQ: https://matlab.fandom.com/wiki/FAQ#Why_can't_my_standalone_compiled_executable_find_my_files?

alrededor de 3 años hace | 0

Respondida
Debluring after croping image
You can use functions like conv2, deconvreg, deconvwnr, deconvlucy, deconvblind. To save the images, use imwrite to save them i...

alrededor de 3 años hace | 0

| aceptada

Respondida
Code to obtain average pixel intensities of all frames of a video with help of a single code
See attached demo where I get the mean RGB values of each frame. I think this is what you wanted, right?

alrededor de 3 años hace | 0

Respondida
Segmenting boxes in an image
You can get all three square masks doing this: mask = grayImage > 128; % Or whatever works. % Get rid of white surround touchi...

alrededor de 3 años hace | 1

Respondida
How to extract only background from gray image (particle in tube)
Take a picture without any particles in it, then use imabsdiff

alrededor de 3 años hace | 0

| aceptada

Respondida
Could anyone give me more information about this vergin of Matlab?
See the release notes to find out what's changed since your 2018a version: https://www.mathworks.com/help/relnotes/index.html;j...

alrededor de 3 años hace | 0

Respondida
Brace indexing is not supported for this type of variable
I think this is closer to what you want. It has many improvements. I'm not sure what you want with that sname stuff so there s...

alrededor de 3 años hace | 0

Respondida
Sum a matrix element using a window size of 4
Try blockproc if you have the Image Processing Toolbox: A = [-2 -2 -2 2 -2 2 -2 -2 -2 2 -2 -2 -2 -2 -2 2 -2 -2 2 -2 -...

alrededor de 3 años hace | 0

| aceptada

Respondida
Contact MATLAB Compiler Runtime License
The compiler runtime is a library that compiled programs can use for free. If someone has the compiler toolbox, then they can c...

alrededor de 3 años hace | 0

Respondida
How to find node coordinates for the provided honeycomb structure as shown in picture below
I'm not sure the image you posted has enough resolution in the small hexagons to resolve them. If you have a much higher resolu...

alrededor de 3 años hace | 0

Respondida
Objects Segmentation in the images
Maybe try imextendedmax or imextendedmin You may have to end up just manually splitting them apart with drawline. Watershed tr...

alrededor de 3 años hace | 0

| aceptada

Respondida
Write a program that K, B and M are constant and supplied by the user input. Use T as the ending time value that solutions are sought ( also entered by the user when calling the function.
This snippet to ask the user for input may help: % Ask user for two floating point numbers. defaultValue = {'45.67', '78.91'};...

alrededor de 3 años hace | 0

Respondida
Binary image and edge images are not displayed
To get the edges from your segmented image, you can use bwperim (to get an image) or bwboundaries (to get a list of (x,y) coordi...

alrededor de 3 años hace | 1

| aceptada

Respondida
Does an exsting license for "Statistics Toolbox" include Machine Learning, or is this a new product that needs purchased
I agree, the first/accepted Answer was not written by an actual human -- it's ChatGPT that someone posted. You can tell because...

alrededor de 3 años hace | 1

Respondida
Suppose i have a matrix (2x4) A=[1 2 3 4;5 6 7 8] and i want to change it into this matrix [1 2;3 4;5 6;7 8]. How to do that?
@Payel this is super basic. You're not going to get very far, very fast if you have to ask Answers volunteers every time you wa...

alrededor de 3 años hace | 0

Respondida
Sir, How to extract color and shape features for a leaf image?
Search for the tag leaf. There have been so many in the past and I've given code for lots of them. https://www.mathworks.com/m...

alrededor de 3 años hace | 0

Respondida
Increase one of the dimensions of an array
Try interp3 help interp3 Something like (untested) [rows, columns, slices] = size(img) z = linspace(1, slices, 2 * slices); ...

alrededor de 3 años hace | 1

| aceptada

Respondida
writting a code on an earthqauke structure need help to understand how to write for defelction points
Why do you think it would have that function already? It's not a built-in function. You have to actually write it. If you thi...

alrededor de 3 años hace | 0

Cargar más