Respondida
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 días hace | 0

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

30 días hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 1

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 1

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 2

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 2 meses hace | 0

| aceptada

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 1

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 1

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 1

| aceptada

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

alrededor de 2 meses hace | 1

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

alrededor de 2 meses hace | 1

| aceptada

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

alrededor de 2 meses hace | 0

Respondida
Software development in Matlab for a standalone application
You can do almost anything in any language. Some might have more built-in libraries than others. Some you have to look for lib...

alrededor de 2 meses hace | 0

Cargar más