A répondu
Drawing on UI Axes in MATLAB app designer
There is a family of "draw" functions, like drawpolygon, drawfreehand, drawline, etc. Use one of them. See attached demos if y...

26 jours il y a | 1

A répondu
duration of rain. help
You might look into splitapply, grpstats, groupsummary, and findgroups. They are very useful functions to know about! 🙂

28 jours il y a | 0

A répondu
Detect monotonic decrease and record the corresponding rate
Does this help? D1= {'3/25/2024 15:01:10' 15 '3/25/2024 15:01:26' 25 '3/25/2024 15:01:42' 25 '3/25/2024 15...

28 jours il y a | 0

A répondu
How to make a logical mask using a shape file?
You have to define lat and lon as vectors before you use them in meshgrid to get the full matrices Lat and Lon as outputs.

28 jours il y a | 0

A répondu
Is there a way to calculate differnce between two pictures and show it as %?
See https://en.wikipedia.org/wiki/Image_quality In MATLAB try brisque, niqe, and piqe

29 jours il y a | 0

A répondu
Finding multiple flat sections
Try movstd

29 jours il y a | 2

| A accepté

A répondu
Boundary Extraction Algorithm for Low-Resolution Ultrasound Images
I see no justification from the image alone that the bright region(s) would form a donut shape. You must be indicating those us...

29 jours il y a | 0

A répondu
Matlab asks me to sign in when I'm offline
Are you using a shared license -- part of a license pool? Like where your organization has a group of licenses (less than the n...

environ un mois il y a | 0

A répondu
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 = ...

environ un mois il y a | 0

A répondu
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...

environ un mois il y a | 0

A répondu
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...

environ un mois il y a | 0

| A accepté

A répondu
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 ...

environ un mois il y a | 0

A répondu
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 ...

environ un mois il y a | 0

A répondu
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_...

environ un mois il y a | 0

A répondu
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...

environ un mois il y a | 0

| A accepté

A répondu
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...

environ un mois il y a | 0

A répondu
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 : ...

environ un mois il y a | 0

A répondu
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...

environ un mois il y a | 0

A répondu
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...

environ un mois il y a | 0

| A accepté

A répondu
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...

environ un mois il y a | 1

A répondu
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 *...

environ un mois il y a | 0

| A accepté

A répondu
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....

environ 2 mois il y a | 0

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

environ 2 mois il y a | 1

A répondu
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...

environ 2 mois il y a | 0

A répondu
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 ...

environ 2 mois il y a | 2

| A accepté

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

environ 2 mois il y a | 0

A répondu
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...

environ 2 mois il y a | 0

| A accepté

A répondu
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...

environ 2 mois il y a | 0

A répondu
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...

environ 2 mois il y a | 0

A répondu
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...

environ 2 mois il y a | 1

Charger plus