Answered
How to change an image (icon) on button into another one image (icon) by clicking on this button in Matlab's App Designer?
You will need to do this in the callback of your button. Assuming that when you create the button, you had set the text to Pla...

2 months ago | 0

| accepted

Answered
How to delete multiple rows of particular values?
Assuming that the variable is a matrix and the second column is startSeconds rowstokeep = data(:,2) > 2.37; data = data(rowsto...

2 months ago | 0

| accepted

Answered
Insert the date to a missing values of series of time add NaN to the result of the sensor that measures wind velocity, wind direction, pressure, global radiation and % of humidity
If I understand your question correctly, your data has missing timestamps. You want to add these back. I suggest you import you...

2 months ago | 1

| accepted

Answered
Plots in app designer
You can specify the handle of the uiaxes, so that matlab knows which axes to plot on. barh(app.UIAxes,predictorImportance); gr...

2 months ago | 0

| accepted

Answered
Unrecognized method, property, or field 'value' for class
You are using smaller case for value on line 37. just change to upper case as follows. conversionvalue = app.conversiontypeDrop...

2 months ago | 0

| accepted

Answered
Create a vector with specific intervals
You can split it into 4 sequences. then merge it back together to create your desired vector. limit = 100; a1 = 4:4:limit; a2...

2 months ago | 0

Answered
How to display the equation in the graph.Here the slope is found to be 0.35(if i am not wrong) and i want to display the equation as y=0.35x on the graph .Any answers will be highly appreciated
There are two options. First option is to use the text function to display the text on the axis. x = -1; y = -0.5; text(x,y...

2 months ago | 1

| accepted

Answered
how can I reuse http connection when use webread to avoid server time wait?
You will need to rely on java to accomplish this. A simple script to open a network connection and read from it is as follows. ...

2 months ago | 0

Answered
Generating multiple max values from various data sets
You can use the sort function to sort the variable in descending order. I changed the max to a cell array, so that you can stor...

2 months ago | 0

| accepted

Answered
Pass Variable to Calling App
Please refer to the following documentation on how to pass data between appdesigner apps. https://www.mathworks.com/help/matlab...

2 months ago | 0

| accepted

Answered
Implementing multiple selection and selection range for UITable in App Designer
I have no answer for your first question. For the second question, I was able to do range selection using left click and draggi...

2 months ago | 0

Answered
How to parse an Nx1 string array without looping through N
Since the pattern in your string seems to be the same, you can use the format specification to convert the string directly to da...

3 months ago | 0

Answered
How to check for gaps between datetimes in list of files in a folder?
This is likely an issue with the precision of the double value. instead of checking for exact equality you may want to check for...

3 months ago | 0

| accepted

Answered
How to buy a license anterior to 2020a (2019b) ?
In my experience, if you have current matlab license, you would be able to download the prior release version that are still sup...

3 months ago | 0

| accepted

Answered
How to use use = logical operator on multiple values?
As suggested by stephen, you can simply use ismember A1 = ismember(A,A([1 2 4]));

3 months ago | 0

| accepted

Answered
Trying to extract numbers between bounds and counting them
If you can use logical vectors then you can do it like this x = randi(100,10,1); count = sum(x >= 60 & x < 70); If you have t...

3 months ago | 0

Answered
Replacing a whole row of a matrix with specific characters
a = char(randi([0 1],4000,5)+'0'); % create a n by 5 char array b = bin2dec(a); % convert it to decimal b(b>25) = b(b>25) - 'A...

3 months ago | 0

Answered
Converting cell array to matlab datetime format
we can replace the gmt with utc t = {'03.08.2003 23:00:00.000 GMT+0200'}; t = strrep(t,'GMT','UTC'); t = datetime(t,'InputFor...

3 months ago | 1

| accepted

Answered
Assign mean and max value to a heatmap color bar
You can specify the color limits in your heat map %h = heatmap(__,'ColorLimits',[0 10])

3 months ago | 1

| accepted

Answered
How to find and replace the content of an array
% sometimestamp = {'03/07/2019' '03/07/2019 00:30:00'}; l = cellfun(@length,sometimestamp); % or % l = strlength(sometimest...

3 months ago | 0

| accepted

Answered
"Next Button" and "command window" in App Designer
Make an app and add two properties. Filelist and currentidx and a placeholder for image in the app. Make a function called load...

3 months ago | 0

| accepted

Answered
How to assign the value to the min/max of a color map in heatmap?
You can flip the colormap summer to get your desired colorscheme. f = figure; a = heatmap(rand(10,10),'Parent',f); colormap(f...

3 months ago | 1

| accepted

Answered
How to rotate and rescale a portion of a class images in an image datastore network ?
You can use the augmentedImageDataStore. It will randomly apply the specified agumentation to the images. https://www.mathworks...

3 months ago | 0

Answered
slow down the for loop operation for huge set of datas
You don't need to use the for loop with the inpolygon function. idx = inpolygon(X(:),Y(:),LocationsListData.x,LocationsListData...

3 months ago | 0

Answered
How to seperate an array into two?
You can directly index into your 1-D vector. V = rand(8,1); n = length(V); Vodd = V(1:2:n); Veven = V(2:2:n);

3 months ago | 0

Answered
I have an equation with 3 variables that each have an allowable range of values, how can I compute all possible solutions by picking from the allowable range of values at random?
B = 1.71E11; F = @(E,Q,K) E.*B + Q.* (B./K); mnE = 0.02; mxE = 0.06; numval = 100; E = rand(numval,1) .*(mxE-mnE) + mnE; % ...

3 months ago | 1

| accepted

Answered
How to read and write to global variables of shared library(using loadlibrary)?
You need to get the pointer first. Try the following to see if it works. Also you did not specify what data type the pointer i...

3 months ago | 0

| accepted

Answered
Bar chart with numerical x-axis treated as labels OR with thicker "bars"
categorical does not need you to supply the values as cellstring or string. You can straight away use it on a numerical array. ...

3 months ago | 0

| accepted

Answered
Why my for loop does not work correctly?
for i = 1:numel(Class1_mon_avg_synop) j = (i-1)*2; ave(i) = Class1_mon_avg_synop{1,i}.sum_rrr24(i); ALLMONTHS_cla...

3 months ago | 1

Answered
How to create a menu with checkbox in app designer?
There is a property "Checked" for uimenu. In app designer select the menu and in property inspector tick the checked box.

3 months ago | 0

| accepted

Load more