Answered
Animation only exporting 1000 frames
See attached demo. Though the demo doesn't have 1000 frames, I see no reason why it should quit making the movie at 1000 frames...

3 years ago | 0

Answered
array processing and sorting
DId you try std and a for loop? This looks like a homework problem. If you have any questions ask your instructor or read the ...

3 years ago | 0

| accepted

Answered
Sum values on the maximum number of consecutive days
Try this (requires the Image Processing Toolbox); % I have a variable (R_3) with the daily data for 1 year (matrix size is 366 ...

3 years ago | 0

Answered
How do I resolve picoscope DLL error?
Try to load it from a script and see if that works folderThatItIsIn = "c:\whatever"; fileName = fullfile(folderThatItIsIn, "ps...

3 years ago | 0

Answered
Finding Highest Frequency Component from a Sound Recording
You have to define eactly, mathematically what you want when you say "maximum frequecncy component". This is vague and imprecis...

3 years ago | 0

Answered
Unable to perform assignment because the left and right sides have a different number of elements.
In gamma(i)=(f(r,p,Mt,SNR,e)); f returns a variable Wp, which is a vector of MT elements. How are you thinking that you're go...

3 years ago | 0

| accepted

Answered
copy data from work space In a compact way
Let's say your m is your 50*100 matrix in the base workspace, and you want to make a copy of it in your editor (script). Simply...

3 years ago | 0

Answered
how can i get matlab code for this paper
See the FAQ: https://matlab.fandom.com/wiki/FAQ#Can_you_program_up_the_algorithm_in_this_article_for_me_and_explain_it_to_me? ...

3 years ago | 0

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

3 years ago | 1

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 1

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

Load more