Answered
How to detect if passed handle is a handle to an App Designer Application
metaclass(app).Description Should return 'Properties that correspond to app components' if it is an app. where the input "app"...

ongeveer een maand ago | 0

Answered
What does this line mean
You can read about the function, unifrnd, here: https://www.mathworks.com/help/stats/unifrnd.html

ongeveer 2 maanden ago | 0

Answered
code errors at app designer
You need to make the fullname variable a property variable, so that it can be used by the different functions within the app. ...

ongeveer 2 maanden ago | 0

| accepted

Answered
app designer readmatrix only 1 row
I would have used a similar approach. This could be faster depending on the size of your data: prueba = readmatrix(app.filename...

ongeveer 2 maanden ago | 0

| accepted

Answered
How to display only certain UITable data in a graph?
Obtain values from the first column that contains the check boxes. selected = app.UITable.Data(:,1); Use the logic array (sele...

ongeveer 2 maanden ago | 0

Answered
combing two arrays into a table (app designer)-Array indices must be positive integers or logical values.
Here are a few options to consider below. 1. Define variables You can define variables when they are created as properties...

2 maanden ago | 1

| accepted

Answered
Grouping and averaging values within a matrix
m = [-1.60120522975922 -0.522726416587830 1.67500007152557 -1.60120522975922 -0.518805325031281 1.67500007152557 -1.5972841978...

2 maanden ago | 1

| accepted

Answered
trouble plotting curved line
I'm not sure what you are trying to graph. I don't know what the T and S variable are suppose to be. Here is a guess of what I t...

2 maanden ago | 0

Answered
i got a question regarding showing the after picrute on app designer
I answered this here: https://www.mathworks.com/matlabcentral/answers/1869472-hi-guys-how-should-i-fix-i-this-code-error-its-su...

2 maanden ago | 0

Answered
hi guys how should i fix i=this code error its supposed to be changing an image to gray scale mind u this is in app designer
Have you tried using im2gray instead of rgb2gray?

2 maanden ago | 0

| accepted

Answered
can someone write the line code that checks if the image is rgb and convert it to gfrayscale
If you want a quick fix you can do the following: try rgb2gray(Image) catch disp("Error using rgb2gray") end or yo...

2 maanden ago | 1

Answered
How to do math using datetime objects including years
date_obs = '22:179:18:42:44.610'; j2000date = '2000:001:12:00:00.000'; formatOut = 'uu:DDD:HH:mm:ss.SSS'; % ...

2 maanden ago | 0

| accepted

Answered
I want to use the two buttons and have the text field change once a folder is selected. Then have the figures and the jpg's save to those respective folders.
Add property variables properties JPEGSaveLocation MATLABFigureSaveLocation end add Callback to "JPEG Save Location...

2 maanden ago | 0

| accepted

Answered
I want to put multiple plots on a graph but be able to turn on and off the visibility for a few plots
Create a property variable properties p end Define that property value (do so in startup function or in callback functio...

2 maanden ago | 0

Answered
Using mouse button to get lat long coordinates
the inputm function does not work with geoaxes. Try using ginput instead. [lat, long] = ginput(1);

2 maanden ago | 0

| accepted

Answered
How to use a edit box on a GUI
Add a callback to the ninth_button that reads the value in the 'eighth_button' edit field and places it as an input to the walk ...

2 maanden ago | 0

| accepted

Answered
Defining the Parent location of a UIAxes plot
remove ax = gca; %This creates a new axis when there isn't an axis in a figure window. Edit: This line isn't needed in for l...

2 maanden ago | 0

| accepted

Answered
Empty plot returning when I try to graph
%sigmayy along theta = 0 degrees for ii = 1:10; for jj = 1:10; x = ii/1000; y = (jj-500)/1000; xtip = x - ...

2 maanden ago | 0

Answered
How do you apply an image threshold and track a centroid in a video?
You can use VideoReader. Here is an Example reading a video file. Edit: As for calculating the velocity, you can make your Ce...

2 maanden ago | 0

Answered
why do i get this error as no enough input arguments
I just ran the code without getting an error. x = 10*rand(4,2) [J,distinct_d] = jd(x,1) function [J,distinct_d]=jd(X,p) ...

3 maanden ago | 0

Answered
how to create zero column matric and row in beginning of the matrix
m = rand(6) new = [zeros(8,2) [zeros(2,6);m]]

3 maanden ago | 1

| accepted

Answered
replace nan in a matrix with specific values
Can you give clarity to what you want? To me, it sounds like you want something like this: f = [1 2 3 2; 4 5 6 1; 7 8 9 2]; f(...

3 maanden ago | 0

Answered
Calculating mean and variance , iris dataset
Is there a reason why you aren't using the mean and var function? load fisheriris a=meas(1:50,1:end); means = mean(a) totalv...

3 maanden ago | 0

| accepted

Answered
Could anyone help me out in finding frequency of data using excel file and later finding the row having maximum frequency?
t = readtable('frequency.xlsx') t.Sum = sum(table2array(t(:,2:end)),2) [maxvalue, Index] = max(t.Sum) t(Index,[1 end])

3 maanden ago | 0

| accepted

Answered
Finding sum of intensity in each frame of tif stack image
[filename, folder] = uigetfile('*.tif*'); Image_info = imfinfo(fullfile(folder,filename)); num_images = numel(Image_info);%...

3 maanden ago | 1

| accepted

Answered
How to write a for loop to add to a label
t = array2table(rand(3,3)); t.Properties.VariableNames = {'arm','leg','foot'} for ii = 1:length(t.Properties.VariableNames) ...

3 maanden ago | 0

Answered
Matlab app designer header icon/favicon problem
You can change it in App Designer by highlighting the uifigure (this case called app.UIFigure) under the component browser. Then...

3 maanden ago | 1

| accepted

Answered
How to include labels to a plot?
force = 30; displacement = [10 20 30 40]; cases = ["This is case 1" "This is case 2" "This is case 3" "This is case 4"]; p...

3 maanden ago | 1

| accepted

Answered
Which units does viscircle use
I believe it is based on the coordinates of your axes. If you have an image, it would be pixels.

3 maanden ago | 0

| accepted

Answered
plot with for loop
Here is how to do a for loop: main_folder = pwd;%uigetdir; subfolder = 'foldername'; % Making up values so I can show previ...

3 maanden ago | 1

| accepted

Load more