Answered
How to generate multiple tiff files into my file path?
You cannot use colons in the file name (for Windows) unless it's immediately after a drive letter. Try this: thresholdarray = ...

27 days ago | 0

Answered
Is it possible to use format long in one line of code and then use format short in another line of code on the same script?
Just call format whenever you want to set the format and it will be that format for the rest of the script (or until you call fo...

27 days ago | 0

Answered
classification network with images, around 400 classes, each class minimum 5 images, around 4000 images
Yes you can convert vectors into images and then use deep learning to classify the vectors. However I'm not seeing the part whe...

1 month ago | 0

| accepted

Answered
Extracting a double array from within a struct
Structures have "fields" not "cells". "One of those fields is called contains..." <== is called WHAT??? You left out the name ...

1 month ago | 0

Answered
How to isolate inner branch structure (similar to bulk background color) from ring of dark gray?
I could maybe do a better job than that, but unfortunately you forgot to attach the actual image, image.tif. If you still need ...

1 month ago | 0

Answered
imread file does not exist - Unable to read file with multiple images
To process a sequence of files in a folder, see code snippets in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_...

1 month ago | 0

Answered
Find turning point of noisy signal
Try findchangepts. If it doesn't work well then first try to denoise your signal by running it through movmedian. Another opti...

1 month ago | 0

| accepted

Answered
How do I write a code for given formula?
I feel that kmeans is not a good method in your situation. kmeans is good when you know that you have the required number of cl...

1 month ago | 0

Answered
Trying to adjust weighting on PART of a sigmoid fit
Then simply don't include that data in your training data set. Try firstIndex = find(x > 500); partialYData = y(firstIndex : ...

1 month ago | 0

Answered
I am not able to save my file on the trial version
"UNTITLED2. " is an unusal name for a folder. Not that a dot and a space are not allowed, but maybe just save it to a regular f...

1 month ago | 0

Answered
Matlab doesn't open
Evidently you have not tried the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_m...

1 month ago | 0

| accepted

Answered
How to calculate center of pressure given a 2d array containing pressure data
If you have the Image Processing Toolbox (I think most people do) then you can do it in one line of code by asking regionprops t...

1 month ago | 1

Answered
What would be the equation of the following surface?
One assumption might be that it's the sum of two Gaussians, like z = a1 * exp(-( (x-xctr1).^2 + (y-yctr1).^2) / sigma1) + a2 *...

1 month ago | 0

| accepted

Answered
Problem with loop for
This is round-off error, a form of quantization error. See https://en.wikipedia.org/wiki/Round-off_error and https://matlab....

1 month ago | 0

Answered
Standalone Application - fwrite invalid file identifier if launched by another user
Maybe try fclose('all') in the code where your app shuts down.

1 month ago | 1

Answered
Crack analysis and width measurement in Concrete
I'm pretty sure I've done this several times before. Look up tags concrete, crack, etc. and see what answers of mine pop up. I...

1 month ago | 0

Answered
How to enhance and denoise an FFT diffraction image?
If you want only the spectrum from within the green circle regions, you can just zero out everything outside of those. You can ...

2 months ago | 2

| accepted

Answered
How to read and add 100 consecutive images
See attached demo file where I do exactly that. Adapt as needed.

2 months ago | 0

Answered
How to eliminate the black part added in the moving image during image registration?
Usually the fixed and moving images will not have black triangles because they are your original source images. Once your movin...

2 months ago | 0

| accepted

Answered
How can I improve the image segmentation and outlining of a layered object?
@NATHAN SUTEMIRE Not sure how I missed this 3 years ago, but here is my solution (better late than never). It uses kmeans to fi...

2 months ago | 0

Answered
convert the image sketch in to x,y boundary coordinate
You don't need the (x,y) coordinates. You can work from the binary image directly. Getting the (x,y) coordinates just complica...

2 months ago | 0

Answered
How to develop "a model" from a given m-file of regression analysis?
What I would do is to use the Regression Learner app on the Apps tab of the tool ribbon. It's in the Statistics and Machine Lea...

2 months ago | 1

Answered
Cropping Abnormal Image for Multiple Laboratory Trials
You can certainly crop out the pad's bounding box to a new image if you need to. Not sure you need to though. I've worked on...

2 months ago | 0

Answered
Loop outputting deleted object?
>> test5 Error using input Not enough input arguments. Error in test5 (line 49) output(ii,:) = gammatone(input, CenterFreqs...

2 months ago | 0

Answered
Program not calculating properly
Looks like you just took my code that I gave you in your other question and made a few changes to make it not work. I suggest y...

2 months ago | 1

Answered
Solving multi-criteria tasks
To learn fundamental concepts, invest 2 hours of your time here: MATLAB Academy - Free 2 hour training

2 months ago | 0

Answered
How to find same values in a randi function
I've already done it. You can look at the attached m-file code. % Finds frequency of 5 card poker hands % Reference % https:...

2 months ago | 1

| accepted

Answered
How to read 0's and 1's from an array of images (originally from a video) and store each value (one per image) in a vector?
I don't think your algorithm is good. Contrast enhancement is not necessary and may even give deceptive results. Nor is Otsu t...

2 months ago | 1

Answered
How to segment an EMG signal according to a column value?
If your data are in a regular matrix, you can use indexing to extract rows for that class. For example if column 2 contains the...

2 months ago | 1

| accepted

Answered
which type of image conversion have low occupy the CPU & Memory ? gray 2 Lab or ?
Not sure why you're asking. How big are your images? For normal sized images I wouldn't worry about it. I'd just use rgb2lab ...

2 months ago | 0

Load more