Answered
Image segmentation of these pellets
Have you tried a different colorspace? I converted the image to HSV and used the Color Thresholder app. Just with that I was abl...

1 year ago | 0

Answered
How to better plot flood map/ flood depth in MATLAB?
geodensityplot sounds like a good candidate here. This example show show to implement it.

1 year ago | 0

Answered
Extreme memory usage when using gather
gather is just doing what it's supposed to do. Namely, "On a gpuArray: transfers the elements of A from the GPU to the local wor...

1 year ago | 0

Answered
Using hold for multiple tiledlayout figures in a for loop.
It always helps to be explicit with your figure and axis handles. Also, the for loops were unecessary. Hope this is more what yo...

1 year ago | 0

Answered
convert 2d image into 3d image from side and front views?
This is not a trivial task, but here's some information to get you started https://www.mathworks.com/matlabcentral/answers/89259...

1 year ago | 0

Answered
Unexpected connection and input errors after modifying neural networks
The Deep Network Designer app has a useful Network Analyzer tool for just this type of issue. Open the app using deepNetworkDesi...

1 year ago | 0

| accepted

Answered
Create Gui dynamically - resize Gui according to Label Position
Have you considered developing this in App Designer instead of the script based approach you're currently using? With App Design...

1 year ago | 0

Answered
How to generate a matrix from specific outputs from a MATLAB file?
a = [2.1146 1.5751 1.5751 2.7125]' b = reshape(a,[2 2])

1 year ago | 0

Answered
GUI error on Linux only
A compiled MATLAB binary can only be run on machines which match the architecture of the machine that originally compiled the bi...

2 years ago | 0

Answered
Issue with overlaying medical images using transparency
You could use imfuse. load workspaceoverlay.mat figure for n = 1:10 subplot(2,5,n) % MRtr = imshow(Ven(1:156,1:156,...

2 years ago | 0

Answered
MATLAB mobile IMU sensor - Device Orientation
The algorithm is described in the ahrsfilter documentation.

2 years ago | 0

Answered
Letting my user choose a subset of a plot
Is this what you're looking for when you say "let the user drag from left to right"?

2 years ago | 0

Answered
Unable to Segment Iris from Preprocessed Eye Dataset.
Have you considered just using imfindcircles?

2 years ago | 0

| accepted

Answered
How can I Classify Hyperspectral Image using .h5 Prisma data?
You can use h5read to load your file, and then just format your data to match the input in the example.

2 years ago | 0

Answered
How to display the value of a variable in real time in a uitable through appdesign
Yes, this is possible. To implement this in App Designer, you will access the "Data" property of the UITable. app.UITable.Data ...

2 years ago | 0

Answered
Is there someway I can use the eeglab toolbox with matlab online?
If you select "Get Add-ons" on the Home tab and search for "EEGLAB" you will find an option to install it as an add-on directly ...

2 years ago | 2

Answered
Reading data from file with jsondecode
Have you tried readstruct? It will create a structure from JSON data, and you can even parse by selected standards.

2 years ago | 0

Answered
Matlab plot disappears after editing X and Y limits
Difficult to say without seeing the actual code, but you can try something like this: ax = gca; ax.XLim = [1 10]; % Use your v...

2 years ago | 0

| accepted

Answered
how to plot confusion matrix from confusion matrix?
load confmat.mat % Calculate the percentage accuracy for each class percentageAccuracies = (diag(confmat)' ./ sum(confmat,...

2 years ago | 0

Answered
Setting colormap to lines from streamslice
You could just randomly generate the colors: load wind lineObj = streamslice(x,y,z,u,v,w,[],[],5,'noarrows'); for ii = 1:leng...

2 years ago | 0

| accepted

Answered
How i add the button for the Time axis to user can change time in the given MATLAB App designer
The property you want to change is app.UIAxes.XLim. You could implement this with a ButtonPressedFcn callback (like you have don...

2 years ago | 0

Answered
Creating Variable Names from Strings
As other users have stated, it is generally not advisable to dynamically generate variable names from a string using eval. Howev...

2 years ago | 0

| accepted

Answered
How to get Sharing Details in App Designer
When you go to package the app there is a field for the version number. When the app is installed, the user can view the ve...

2 years ago | 0

Answered
Issues with EDF file data record duration
https://www.mathworks.com/help/signal/ref/edfread.html https://www.mathworks.com/help/signal/ref/edfwrite.html You will have t...

2 years ago | 0

Answered
how MATLAB determines order of monitors
https://www.mathworks.com/help/matlab/ref/matlab.ui.root-properties.html#buc8_0n-MonitorPositions Can you share the values you ...

2 years ago | 0

Answered
How to combine multiple .fig files into one .fig file?
https://www.mathworks.com/matlabcentral/answers/444601-copying-the-content-of-a-figure-to-another-figure

2 years ago | 0

Answered
how to perform lag correlation between two spatial data?
If you input two matrices, A and B, into corrcoef, corrcoef will convert them into their vector representation equivalent to cor...

2 years ago | 0

Answered
How to run standalone application from the folder where it is located?
cd yourLocalFolder; system("yourApp.exe") % If your app has additional inputs: system('"yourApp.exe" arg1 arg2') % If you ...

2 years ago | 0

Answered
Error using function: Too many input arguments.
"net" is not configured for as many inputs as you are providing. You will either need to reduce your number of inputs or edit th...

2 years ago | 0

Answered
If part of While loop not executing any functions
You're never entering the loop. You will only ever enter that loop if PF = 0 because isempty(PF) will always yield 0 if a value ...

2 years ago | 0

Load more