回答済み
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日 前 | 0

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

5日 前 | 0

| 採用済み

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

5日 前 | 0

回答済み
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日 前 | 1

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

5日 前 | 0

回答済み
[SOLVED] Semi-colon not supressing output
Make sure echo is not on. Issue this command echo off

5日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 2

回答済み
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日 前 | 0

回答済み
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日 前 | 0

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

7日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 1

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

もっと読み込む