Answered
Why does this give me the "Unable to perform assignment because the left and right sides have a different number of elements." error?
Perhaps make it a cell array: numControls = length(app.components) display_names = cell(numControls, 1); for k = 1 : numContr...

3 years ago | 0

Answered
Why i cannot get full database?
Maybe it's due to you looking for the wrong extension in the folder. For example, maybe this: addpath('C:\Users\User\Desktop\L...

3 years ago | 0

Answered
Matlab plots not working
You probably redefined the built-in function "axis" with your own m-file, function, or variable. Don't do that. rename your m-...

3 years ago | 0

| accepted

Answered
why is the lamp changing color?
In Numer_of_zonesEditFieldValueChanged you have app.Lamp.Color='r'; and app.Lamp.Color='green'; so it's quite possible that ...

3 years ago | 0

Answered
I have a query with regards to matlab app designer
Make a second GUI where you collect your input. Have it return the values separately, or all together as fields of a structure....

3 years ago | 0

Answered
Hi everyone, how do I fix this issue/>>>>>>Array indices must be positive integers or logical values.
Since this is one of the most common FAQs, see the FAQ for a thorough discussion: https://matlab.fandom.com/wiki/FAQ#.22Subscri...

3 years ago | 0

Answered
I want to find second and third maxima in a row of a matrix of size 1000*8
Use maxk: m = randi(99, 4, 10) % Sample small matrix. Replace with yours. row = 2; % Whatever row you want. v2 = maxk(m(row,...

3 years ago | 0

| accepted

Answered
How to find the Feret Diameters of a leaf
Did you search the tags for leaf? Because there are lots of questions about analyzing leaves. Here is a solution for a single ...

3 years ago | 0

Answered
It either tells me "Too many arguments specify one" or "index in position 2exceeds array bounds" for line 9 (plot)
Evidently sim does not produce 3 output arguments. You seem to think it will give you t, x, and y. It does not. help sim Try...

3 years ago | 0

Answered
Matlab app for non matlab software holders
If you have the compiler toolbox you can compile a standalone executable for them. See the FAQ: https://matlab.fandom.com/wik...

3 years ago | 1

Answered
How to call sigmoid function inside runge kutte orde 4? Is it possibel?
To call a function from within another function, just call the function by name and pass it the arguments it wants. For example...

3 years ago | 0

| accepted

Answered
Matlab ignores the initial working folder setting
Create a startup.m file and put it in a folder that is at the top of your path. You can then have it cd to whatever folder loca...

3 years ago | 1

| accepted

Answered
how to calculate the area of each bin of intersection of a circle and mesh grid?
Try this: % Demo by Image Analyst to separate point sets using the convex hull. clc; % Clear the command window. close all...

3 years ago | 1

| accepted

Answered
Create transparent overlay imagesc for certain values
You can use labeloverlay

3 years ago | 0

Answered
Deconvolution process of IR spectral data
Did you try conv or deconv or any related functions?

3 years ago | 0

Answered
How to detect green laser spot with nearly white center
If it worked with a green LED but not the green laser because the green laser dot is more white inside, then just fill the binar...

3 years ago | 1

Answered
All functions in a script must be closed with an 'end'.
Try this: chisquare = chi2inv(0.95,2); %inverse of the chi-square cumulative distribution function with 2 degrees of freedom at...

3 years ago | 0

Answered
BEAR Toolbox excel result not showing
Are you absolutely sure you don't already have that file open in Excel when you try to write it out (again)?

3 years ago | 0

Answered
Turning a double array into a cell array in a big program
Instead of control-F try Control-H and use the Replace All button.

3 years ago | 0

| accepted

Answered
Quantifying red in a recorded video
See attached demo. I track a green Sharpie marker. You can easily adapt it to track something red in the video.

3 years ago | 0

Answered
Unzipping multiple folders to access one compressed file within the folder.
Did you try unzip? Did you see the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?

3 years ago | 0

Answered
How to load .mat file to base workspace using App Designer?
It's usually not a good idea to load variables into the base workspace. It's best if you just load it into your program as a gl...

3 years ago | 0

Answered
MATLAB loses track of directories/functions in the middle of a loop
It's hard to guess without any code. Are you sure you're providing the entire complete path to whatever function needs the fold...

3 years ago | 0

Answered
Image Segmentation Bounding Box
If you don't have a background image, you can create one by taking the mode of every pixel over all frames in the video (or as m...

3 years ago | 0

Answered
How to detect the dimension of a square section in an image ?
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

3 years ago | 0

| accepted

Answered
Solve "MathWorks Account Unavailable - Technical Issue" with Customer Support
@Micha if you have difficulty installing or launching/running MATLAB, you can call tech support. They give free telephone suppo...

3 years ago | 0

Answered
How to detect the dimension of a square section in an image ?
Simply threshold the underlying grayscale image (not the pseudocolored image) and call bwareafilt to extract the 3 largest blobs...

3 years ago | 0

Answered
Fill the lines of incomplete triangles and form complete triangle.
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

3 years ago | 0

Answered
I want to extract the temperature from the IR image at every pixel
You need to "undo" the colormap and get back to the original temperature image. See my File Exchange demo: https://www.mathwor...

3 years ago | 0

Load more