Question

Open exe file with Docker

Hi All, I'm try to install mcr in docker so that I could run different mcr in my pc. FIrst I build my docker file : # Lin...

plus de 3 ans ago | 0 answers | 0

Answered

univariate time series prediction with artificial neural network

refer to the link : https://www.mathworks.com/help/deeplearning/ref/narnet.html. Replace the dataset with your dataset. For Cal...

univariate time series prediction with artificial neural network

refer to the link : https://www.mathworks.com/help/deeplearning/ref/narnet.html. Replace the dataset with your dataset. For Cal...

plus de 3 ans ago | 0

| accepted

Answered

Select a subset from a larger dataset

Undefined operator '==' for input arguments of type 'cell'. The operator is not for cell. Therefore, you have to convert the ...

Select a subset from a larger dataset

Undefined operator '==' for input arguments of type 'cell'. The operator is not for cell. Therefore, you have to convert the ...

plus de 3 ans ago | 0

| accepted

Answered

How to display multiple lines as output from code in edit text field in app designer

Hi, try this way app.TextArea.Value = sprintf('Max velocity can be reached but 1st gear ratio can be increased\n'); app.Text...

How to display multiple lines as output from code in edit text field in app designer

Hi, try this way app.TextArea.Value = sprintf('Max velocity can be reached but 1st gear ratio can be increased\n'); app.Text...

plus de 3 ans ago | 3

Question

Noncompartmental Analysis - Using Simbiology Desktop (How to Export the calculated statistics?)

Follows the example in the link below to do noncompartmental analysis using SimBiology Desktop. https://www.mathworks.com/help/...

plus de 3 ans ago | 1 answer | 0

Answered

What is missing from MATLAB?

Currently, in MATLAB live script (up to version 2018b), it don't have features to show or hide the code section. Therefore, we ...

What is missing from MATLAB?

Currently, in MATLAB live script (up to version 2018b), it don't have features to show or hide the code section. Therefore, we ...

plus de 3 ans ago | 0

Answered

How to update the value in a function with an uicontrol slider?

1st Create GUI with Slider and Axes, Create a call back for slider f=figure; ax = axes(f); ax.Position=[0.1 0.2 0.8 0.7] c =...

How to update the value in a function with an uicontrol slider?

1st Create GUI with Slider and Axes, Create a call back for slider f=figure; ax = axes(f); ax.Position=[0.1 0.2 0.8 0.7] c =...

plus de 3 ans ago | 0

| accepted

Answered

How to remove artifact signal from my data

Try, however, other might have better answer/solution for it. load file1 fs = 48828.128; % my sample rate t=[1/fs:1/fs:leng...

How to remove artifact signal from my data

Try, however, other might have better answer/solution for it. load file1 fs = 48828.128; % my sample rate t=[1/fs:1/fs:leng...

plus de 3 ans ago | 0

Answered

Matlab: Saving data in excel then extracting data for calculations by using a date serial as the search parameter.

if you want load data from excel, you should tableA = readtable('DataFile.xlsx') Here you may use indexing to get the i th of...

Matlab: Saving data in excel then extracting data for calculations by using a date serial as the search parameter.

if you want load data from excel, you should tableA = readtable('DataFile.xlsx') Here you may use indexing to get the i th of...

plus de 3 ans ago | 1

| accepted

Answered

How can I print only the axes in gui to pdf?

Hi, Refer to this link, so far the best solution i have tried is the solution recommended by Joost. https://www.mathworks.com/...

How can I print only the axes in gui to pdf?

Hi, Refer to this link, so far the best solution i have tried is the solution recommended by Joost. https://www.mathworks.com/...

plus de 3 ans ago | 0

Answered

extracting the nth multiple rows of a large matrix to create a submatrix

try, let say a is your matrix(1290x2) a(1:5:1290,:)

extracting the nth multiple rows of a large matrix to create a submatrix

try, let say a is your matrix(1290x2) a(1:5:1290,:)

plus de 3 ans ago | 0

Answered

Fixed point designer license in 30 day demo

you may check in your command window by following command license('checkout','Fixed_Point_Toolbox'); or check whether do you ...

Fixed point designer license in 30 day demo

you may check in your command window by following command license('checkout','Fixed_Point_Toolbox'); or check whether do you ...

plus de 3 ans ago | 0

Answered

Which optimization tool to use? And how to get the accurate result?

n your command window type : optimtool then in the Objective Function put @igx then in the Bounds there [13 1] to [120 12] ...

Which optimization tool to use? And how to get the accurate result?

n your command window type : optimtool then in the Objective Function put @igx then in the Bounds there [13 1] to [120 12] ...

plus de 3 ans ago | 0

| accepted

Answered

How to find first letter of my string is alphabetic??

let say a = "in1" check = all(ismember(a(1), '0123456789')); if check is 1, then it is not okay, else vice versa.

How to find first letter of my string is alphabetic??

let say a = "in1" check = all(ismember(a(1), '0123456789')); if check is 1, then it is not okay, else vice versa.

plus de 3 ans ago | 0

Answered

How to sort a table by two columns?

I follow your solution, it sorts two columns for me. See : a = [1 3 1 1 2 3 2]; b = [4 2 3 1 5 3 2]; c = ['a' 'b' 'c' 'd' 'e...

How to sort a table by two columns?

I follow your solution, it sorts two columns for me. See : a = [1 3 1 1 2 3 2]; b = [4 2 3 1 5 3 2]; c = ['a' 'b' 'c' 'd' 'e...

plus de 3 ans ago | 1

| accepted

Answered

Display live video in UI axes in app

You may refer to my other solution : https://www.mathworks.com/matlabcentral/answers/425492-displaying-video-in-a-app-designer-s...

Display live video in UI axes in app

You may refer to my other solution : https://www.mathworks.com/matlabcentral/answers/425492-displaying-video-in-a-app-designer-s...

plus de 3 ans ago | 0

| accepted

Answered

How do I select particular data from excel file

Yes. Try a = readtable('test.xlsx'); b = a((hour(a.Date_Time)==14 & minute(a.Date_Time)==30),:) Use logic to get the index of...

How do I select particular data from excel file

Yes. Try a = readtable('test.xlsx'); b = a((hour(a.Date_Time)==14 & minute(a.Date_Time)==30),:) Use logic to get the index of...

plus de 3 ans ago | 1

| accepted

Answered

How i Calculate the average number of even numbers in an array?

My answer is Check the index of Even number first a = [1.3700 1.2200 2.2000 2.2800]; index = mod(single(a*100),2)==0...

How i Calculate the average number of even numbers in an array?

My answer is Check the index of Even number first a = [1.3700 1.2200 2.2000 2.2800]; index = mod(single(a*100),2)==0...

plus de 3 ans ago | 1

Answered

(App Designer) How to link axes of UIAxes components to enable user to zoom all plots together in AppDesigner 2018b?

Hi Deniz, As per knowledge, I don't how to do link them simultaneously. However, we may play small trick. I have attached smal...

(App Designer) How to link axes of UIAxes components to enable user to zoom all plots together in AppDesigner 2018b?

Hi Deniz, As per knowledge, I don't how to do link them simultaneously. However, we may play small trick. I have attached smal...

plus de 3 ans ago | 2

| accepted

Answered

parpool fails in deployed application

To use parallel computing for standalone application (MATLAB Compiler SDK/MATLAB Compiler) , you may need to configure/change yo...

parpool fails in deployed application

To use parallel computing for standalone application (MATLAB Compiler SDK/MATLAB Compiler) , you may need to configure/change yo...

plus de 3 ans ago | 1

Answered

Button Pressed Behavior control in App Designer.

Hi, Initially, set text area to not visible. Refer to picture below. Click TextArea component > Text Area Label & Properti...

Button Pressed Behavior control in App Designer.

Hi, Initially, set text area to not visible. Refer to picture below. Click TextArea component > Text Area Label & Properti...

plus de 3 ans ago | 0

Answered

is there way to allocate yyaxis automatically

Two conditions have to be fulfilled 1) Maximum plot not allow more than 3, so it ensure your graph don't have 3rd yaxis. 2...

is there way to allocate yyaxis automatically

Two conditions have to be fulfilled 1) Maximum plot not allow more than 3, so it ensure your graph don't have 3rd yaxis. 2...

plus de 3 ans ago | 0

Answered

Open Modis images in a loop and apply NDVI on them

Hi first of all, load your information into array first, which allow you to use indexing to get their information later. ...

Open Modis images in a loop and apply NDVI on them

Hi first of all, load your information into array first, which allow you to use indexing to get their information later. ...

plus de 3 ans ago | 0

Answered

Having issues with plotting

clear,clc load('DATA_01_TYPE01.mat') A = sig; x = A(2,1:1000) t= 0:200:1000; subplot(3,1,1) plot(t,x) for...

Having issues with plotting

clear,clc load('DATA_01_TYPE01.mat') A = sig; x = A(2,1:1000) t= 0:200:1000; subplot(3,1,1) plot(t,x) for...

plus de 3 ans ago | 1

| accepted

Answered

Plotting multiple objects on same axis

r = 0.005; x = rand(100,1); y = rand(100,1); th = 0:pi/100:2*pi; for i = 1:1:length(x) a = r*cos(th) + x(i...

Plotting multiple objects on same axis

r = 0.005; x = rand(100,1); y = rand(100,1); th = 0:pi/100:2*pi; for i = 1:1:length(x) a = r*cos(th) + x(i...

plus de 3 ans ago | 0

| accepted

Answered

extract values from a vector for 5 secs every time

Hi Amit Pandrey, if let say you want to get the result of every 2 seconds from Alarm_active. time = [1 2 3 4 5 6 7 8...

extract values from a vector for 5 secs every time

Hi Amit Pandrey, if let say you want to get the result of every 2 seconds from Alarm_active. time = [1 2 3 4 5 6 7 8...

plus de 3 ans ago | 0

Answered

How to extract data from CSV that contains header

Hi, The easiest solution is drag your excel file and drop it in MATLAB command window. Then a data import apps will be pop ou...

How to extract data from CSV that contains header

Hi, The easiest solution is drag your excel file and drop it in MATLAB command window. Then a data import apps will be pop ou...

plus de 3 ans ago | 1

| accepted

Answered

What this indexing error all about in my matlab program. please help.

indexing must be positive integer, don't allow zero or floating. When i =1, then i-1 =0, then N_matrix((0),j) it cause...

What this indexing error all about in my matlab program. please help.

indexing must be positive integer, don't allow zero or floating. When i =1, then i-1 =0, then N_matrix((0),j) it cause...

plus de 3 ans ago | 0

Answered

How can I find all the minimum values in table using a for-loop (which has Ties)?

Month = [01 02 03 04 05 06]'; Price = [99 58 94 58 87 91]'; [minimun,idx]= min(Price); MinMonth=Month(Price==mini...

How can I find all the minimum values in table using a for-loop (which has Ties)?

Month = [01 02 03 04 05 06]'; Price = [99 58 94 58 87 91]'; [minimun,idx]= min(Price); MinMonth=Month(Price==mini...

plus de 3 ans ago | 1

Answered

Hi, how to adding value to array in existing array ?

Solution is to save the array in .mat file, therefore, for next time to run the script, it will load the mat file, and add new v...

Hi, how to adding value to array in existing array ?

Solution is to save the array in .mat file, therefore, for next time to run the script, it will load the mat file, and add new v...

plus de 3 ans ago | 1

| accepted