Answered
Is there any way to add cross validation in trainingOptions function while using DNN?
There is no option for cross validation in training options for DNN.

5 years ago | 0

Answered
Compiler- Standalone App Dependencies
Yes. The users will have to install the corresponding MATLAB runtime. Example if you compile the app using MATLAB R2020a, the us...

5 years ago | 0

| accepted

Answered
Is the integration between MatLab and .Net Core 3.0 possible?
Yes it is possible. You can call .net from MATLAB. More details are found in the documentation https://www.mathworks.com/he...

5 years ago | 0

Answered
How can I kill a system process which is frozen
You can use .Net System.Diagnostic.Process to run it. This way you will also be able to terminate the program. process = System...

5 years ago | 1

| accepted

Answered
Groupby Date and Categorical Column on Tables
Perhaps you can try the alternative below. if true [G,tabout] = findgroups(data(:,{'Stock','Date'})); tabout.avgOpen = sp...

5 years ago | 0

Answered
Joining a table using a column of list
Try this if true tabA.VarE = cellfun(@(X)tabB.VarD(ismember(tabB.VarC,X)),tabA.VarB,'UniformOutput',false); end

5 years ago | 0

| accepted

Answered
Display animated GIF in app designer UIAxes
No you can't display animated gif on uiaxes. However if there is no constraint on using uiaxes, you can use uihtml or uiimage or...

5 years ago | 0

Answered
Open multiple files from the same folder with fopen and textscan
You can use a for loop to iterate over the files; files = dir(fullfile(pwd,'*.data*')); data = cell(length(files),1); for i =...

5 years ago | 0

| accepted

Answered
I have a licence install of Matlab on an Apple Mac Book Pro. Ive just bought a new Apple Mac Book Pro. Can I transfer the licence from the old to the new machine ? If so how?
Under normal circumstances, first run the deactivate matlab on the old computer, then you would be able to activate matlab on yo...

5 years ago | 1

Answered
Tricky randomization issue - help needed!
One option can be to generate a sequence longer then you need and then eliminate values until the sequence is valid. Thereafter ...

5 years ago | 0

Answered
Check if is deployed as web app
As far as i am aware there are no function to check if a deployed app is a webapp. A workaround as follows may work. Add a an e...

5 years ago | 0

Answered
accessing tables saved in sequence.
There are a few options. No 1, if all ten files have the same type of data, you can concatenate them into one big table. No 2,...

5 years ago | 0

Answered
How to include Java class in standalone executable?
Please add the jar file containing your java code in the section files needed to run your application. Copied from documentat...

5 years ago | 0

Answered
How to have the MATLAB Web Browser automatically save a downloaded file to a specified directory without prompting
If you have direct links to the file, you can use websave function to save them to the specified location. if true url...

5 years ago | 0

Answered
Transfer learning for 2D image using Alexnet
Another option would be for you to use the augmented image data store function. It includes both resizing and grey to RGB functi...

5 years ago | 1

| accepted

Answered
Open results file via standalone application
Can you share the portion of your code that is opening the file / folder. The best option is to use full path to file and folde...

5 years ago | 0

| accepted

Answered
Compiling existing code into web apps
The easiest way would be to create a blank app and then add a startupFcn. In the startupFcn you can pass in the app.UIFigure t...

5 years ago | 0

| accepted

Answered
Speed up: Parfor loop vs Vectorization
R2020a introduced Threads based parallel pool. This may reduce the memory issues. You can create a threads based parpool befor...

5 years ago | 2

| accepted

Answered
Does Matlab have a function that provide label encoder for multi class classification ?
For Classification problems, if you use Categorical variables, MATLAB will do this automatically for you. This is transparent to...

5 years ago | 0

Answered
For loop based on entries in Dataset
I assume you have loaded the data in MATLAB. You can use function "contains" to get the index of rows that contain the names. ...

5 years ago | 0

| accepted

Answered
How can I invoke C++ executable file (.exe) from Matlab code or Simulink?
As Walter suggested you can use .Net System.Diagnostic.Process to run it. This way you will also be able to terminate the progr...

5 years ago | 1

| accepted

Answered
Date picker in app designer
You are converting date into string using datestr. You can directly subtract the date time object. years(d2-d1)

5 years ago | 0

| accepted

Answered
How to get stats by group
You can use the function group summary. See documentation for more details. https://www.mathworks.com/help/matlab/ref/double.gr...

5 years ago | 0

Answered
Adding number of seconds from changing base date
Since the time is given to you as seconds since some date. you can read it as a double and then add it to the date of interests....

5 years ago | 1

Answered
About Plotting using App designer
You have to edit the function and provide an additional input to the function. The added input variable is the uiaxes that you w...

5 years ago | 0

| accepted

Answered
Using variables from other callbacks
You dont have to use setappdata, getappdata in app designer. You can store the values that you want to be available in your app...

5 years ago | 0

| accepted

Answered
Is it possible to track changes to the script in matlab?
It is recommended that you use source control to keep track of changes to your code. Git is a popular option for source control....

5 years ago | 0

| accepted

Answered
Can third party extract code from standalone desktop app developed using app designer matlab?
You have two options. You can compile your code using the Matlab compiler, which will prevent the users from being able to see...

5 years ago | 0

| accepted

Answered
Transform table to combine data
You can use the function unstack to accomplish this. Read documentation for more details if true U = unstack(T,'NX','...

5 years ago | 0

| accepted

Answered
findpeak for every column of a matrix
You can use size(y_p,2) to find how many columns there are in your data. Thereafter you can either use a for loop or arrayfun t...

5 years ago | 0

| accepted

Load more