Risposto
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 giorni fa | 0

Risposto
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 giorni fa | 0

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

circa un mese fa | 0

| accettato

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

circa un mese fa | 0

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

circa un mese fa | 0

Risposto
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_...

circa un mese fa | 0

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

circa un mese fa | 0

| accettato

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

circa un mese fa | 0

Risposto
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 : ...

circa un mese fa | 0

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

circa un mese fa | 0

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

circa un mese fa | 0

| accettato

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

circa un mese fa | 1

Risposto
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 *...

circa un mese fa | 0

| accettato

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

circa un mese fa | 0

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

circa un mese fa | 1

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

circa un mese fa | 0

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

circa un mese fa | 2

| accettato

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

circa un mese fa | 0

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

circa 2 mesi fa | 0

| accettato

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

circa 2 mesi fa | 0

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

circa 2 mesi fa | 0

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

circa 2 mesi fa | 1

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

circa 2 mesi fa | 0

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

circa 2 mesi fa | 0

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

circa 2 mesi fa | 1

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

circa 2 mesi fa | 0

Risposto
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:...

circa 2 mesi fa | 1

| accettato

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

circa 2 mesi fa | 1

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

circa 2 mesi fa | 1

| accettato

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

circa 2 mesi fa | 0

Carica altro