Beantwortet
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.

fast 6 Jahre vor | 0

Beantwortet
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...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 0

Beantwortet
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...

fast 6 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 0

Beantwortet
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

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 0

Beantwortet
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 =...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 1

Beantwortet
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 ...

fast 6 Jahre vor | 0

Beantwortet
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...

fast 6 Jahre vor | 0

Beantwortet
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,...

fast 6 Jahre vor | 0

Beantwortet
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...

fast 6 Jahre vor | 0

Beantwortet
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...

fast 6 Jahre vor | 0

Beantwortet
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...

fast 6 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 2

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 0

Beantwortet
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. ...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 1

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 6 Jahre vor | 0

Beantwortet
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....

fast 6 Jahre vor | 1

Beantwortet
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...

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
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....

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
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','...

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 6 Jahre vor | 0

| akzeptiert

Mehr laden