Answered
Reading Seven segment display
See my attached (very old) demo. Try to adapt your code to do something similar. Or else attache your code that uses the new C...

5 dagen ago | 0

Answered
How to wrap image along a polygon
See Steve's blog: Spatial transformations Defining and applying custom transforms Steve on Image Processing

5 dagen ago | 0

| accepted

Answered
Real time counter plot
Try making an array like function ButtonPushed(app,event) if a.Counter == 0 allCounts = 0; else app...

5 dagen ago | 0

Answered
How to Save Multiple Figures in Loop?
You can use the newer exportgraphics in the loop: clear all; clc; k = 1 : 10 for i = 1 : 15 x = i * sin(i*pi/4) * k; ...

5 dagen ago | 1

Answered
How to Apply PSF to obtain the difference between two method?
Use surf and either imshow or image or imagesc.

5 dagen ago | 0

Answered
[SOLVED] Semi-colon not supressing output
Make sure echo is not on. Issue this command echo off

5 dagen ago | 0

Answered
How to find the pixel value of the center pixel and the maximum pixel value difference of the image?
Try this [rows, columns, numberOfColorChannels] = size(yourImage); % Find location of the center pixel. middleRow = round(row...

6 dagen ago | 0

| accepted

Answered
How to determine the size of a face in pixels from an image
Maybe try drawpolygon to trace the face. Then get the x,y coordinates of what you drew and call polyarea.

6 dagen ago | 0

Answered
Why can't I open MATLAB after installation?
See if you have a "C:\Program Files\MATLAB" folder. Or ask a classmate who has it working. Or call the Mathworks for free help...

6 dagen ago | 0

Answered
How to create a vertical offset line
Try xline and yline. You can use the 'LineWidth' and 'Color' option to set up the line thickness and color.

6 dagen ago | 0

Answered
cant seem to make the background fully black
Looks a lot like homework. Is it? What I'd try first is to create a background and then subtract it from the image. You can c...

6 dagen ago | 2

Answered
How to read matrix but skip rows
Try this: m = readmatrix(filename); [rows, columns] = size(m) % Split into 4 matrices m1 = m(1 : 4 : rows, :); m2 = m(2 : 4...

6 dagen ago | 0

Answered
How can I programmatically change all my matlab code to use "datetime" rather than "datestr(now)" ?
You can use control-shift-f and search for datestr(now). Unfortunately that multi-file search capability does not (yet) have a ...

6 dagen ago | 0

Answered
Height of circular shape
Try regionprops and ask for Bounding Box of your binary, segmented image. props = regionprops(mask, 'BoundingBox'); bb = vertc...

7 dagen ago | 0

Answered
Drawing a boundary box around an image?
You can use imclearborder to get rid of the white frame, then use regionprops on the blue channel. rgbImage = imread('box.png')...

7 dagen ago | 0

Answered
What does it mean to "% extract t and h(t) for time range 5.0<=t<=12.0" when "h=4.0+6.0*t*10^-0.5-(4*10^-0.25)*cos(0.75*pi*t)"?; when
t is defined over some range, like 0 to 50 or whatever. Then the comment says they only want h values for t that is in the rang...

7 dagen ago | 0

Answered
how to remove the tiny white pixels around the rectangles
Depends on exactly what that means. Do you want to simply remove small blobs? Or do you also want to remove a small protru...

7 dagen ago | 0

Answered
Finding the highest mountain peak
Why can't you just do this to find the row and column of the max for each of the 10 slices of data: for k = 1 : size(Z, 3) ...

7 dagen ago | 0

Answered
Is there any implementation of the KMD clustering in Matlab ?
Well we have dbscan which would work well for bullseye-shaped data. See attached demo db scan demo. I've also included my othe...

7 dagen ago | 0

| accepted

Answered
fprintf with warning of a lone trailing backslash
Like @Walter Roberson said, use fullfile, not strcat. folderName = fullfile(rootFolder, timeSteps(m+2).name); fprintf('Process...

7 dagen ago | 0

Answered
Why am I getting this error about the number of input arguments when I have the right number of input arguments? Thank you!
Looks like it expects you to pass some arguments in to the spin() function. Can you attach the spin() function? What is it? I...

8 dagen ago | 0

Answered
Transformation function on image
If r is the input image, and k is your scalar number, you can create output image s simply by doing this: s = k * r;

8 dagen ago | 0

| accepted

Answered
setup shows only a black installer window
Fastest route to success? Do exactly what is says in the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation,_the_inst...

8 dagen ago | 0

Answered
how to detect objects in a box in a greyscale image
I'd use imabsdiff to find the difference between an image with no objects there and your image with objects there. Then thresho...

8 dagen ago | 0

| accepted

Answered
MATLab2014A isn't formatted right on my Mac.
Not sure what that means, but why are you downloading an old version? Chances are your code will run with the latest version so...

8 dagen ago | 0

Answered
dividing defined variable by named variable
Well yeah. Just look at the numbers: d = 1 : 0.2 : 3 a = sqrt((d.^2)*(3^2)) Y = d ./ a They all look right to me. Exactly ...

9 dagen ago | 1

Answered
Advice to best analyze a balance task
If you don't like rms then maybe use mad - the mean or median deviation of the absolute value of the signal. It's like RMS but ...

9 dagen ago | 0

Answered
convolution of signals using matlab
@Jiby your code is not correct. To create a causal filter, one which depends on only the current and prior values, you'll need ...

9 dagen ago | 0

| accepted

Answered
Dot indexing is not supported for variables of this type.
diff(n_stress,t) is a vector. It does not have a u_c field. Perhaps you meant diff(n_stress,t) .* u_c

9 dagen ago | 0

Answered
I need to perform element by element subtractions within a matrix.
Not sure what you mean by the 11, 12, and 13, but why not use the built in diff, conv, and, if you have to flip? Give an short ...

9 dagen ago | 0

Load more