Answered
Missing patch face color of the plot at its original size
Hi jolnoo, As per my understanding this issue may be due to the renderer used by MATLAB to display the figures. MATLAB has sev...

2 years ago | 0

Answered
How can I solve the NaN error during RL training process
Hi Adithya Ramakrishna Lingadahalli, As per my understanding, your RL agent occasionally encounters an error during training d...

2 years ago | 0

Answered
Scope print to figure. Problem with resolution
Hi Jae wook Oh, As per my understanding the issue you're experiencing is common when using the 'Print to Figure' feature in Sim...

2 years ago | 0

Answered
HOW TO CALCULATE AUROC VALUE FOR ANY CLASSIFICATION MODEL?
Hi Tholkappian R, As per my understanding you have trained your SVM classification model and want to compute the AUROC value ...

2 years ago | 0

| accepted

Answered
Grid World on Simulink
Hi GCats, As per my understanding the grid World Environment is not already available in Simulink. However, since this environ...

2 years ago | 0

Answered
How can I store the trained model and call and output the best action value during the test
Hi 蔷蔷 汪, As per my understanding, you want to know about the process of storing a trained RL agent and using the best action l...

2 years ago | 0

Answered
Can I add the condition on State in Reinforcement learning environment?
Hi Hyoung-Taek Lee, As per my understanding you want to impose a custom condition on the states defined in your code. However,...

2 years ago | 0

Answered
找不到例程带的模型
Hi xin li , As per my understanding, the example mentioned in the following documentation https://in.mathworks.com/help/deep...

2 years ago | 0

Answered
[lmivar, lmiterm]: How to define type 2 decision variables inside other type 3 variables with lmivar and lmiterm when it includes products with other matrices?
Hi Daam Schoon, As per my understanding only the decision variables are defined using the ‘lmivar’ function. The decision vari...

2 years ago | 0

Answered
rlVectorQValueFunction with a custom Network for a DPQ agent
Hi Delprat Sebastien, The error as shown by you arises due to the fact that the environment has more than one observations. A ...

2 years ago | 0

| accepted

Answered
Reusing ConstraintDerivative from AD in fmincon
Hi Rory Gover, No, there is no way to reuse the ConstraintDerivative as the ‘solve’ function computes it internally and there i...

2 years ago | 0

Answered
Gaussian-modulated function for Temperature definition
Hi Elisa Revello, I understand you are trying to plot the graph as attached in your question. For plotting the sinusoidal part...

2 years ago | 0

Answered
EValuate the generated images of GANS using FID and SSIM (MATLAB:2023a)
Hi MAHMOUD EID, For calculating SSIM for the generated images you can use the MATLAB inbuilt ‘ssim’ function as follows: % Loa...

2 years ago | 0

| accepted

Answered
Variable number of optimizableVariables in a bayesopt function
Hi Iwo Slodczyk, You can use the cell array to store all the various variables using a custom function( getVariableValues) and...

2 years ago | 0

Answered
My motivation is to use the constant impedance load and the constant current load within the Simscape Electrical model when I only know the active power (rms), reactive power(
Hi Nachiappan, To model a constant impedance load you can use the active power (P), reactive power (Q) and the rated voltage (V...

2 years ago | 0

Answered
Find minimum of function using genetic algorithm in Simulink
Hi xin lin, As the error suggests, you need to refactor your code so that you don't pass function handles across the extrinsic...

2 years ago | 0

| accepted

Answered
Using analytical method to reproduce the BP neural network, but the result is far from the NN output.
Hi 凤瑞, The neural network(feedforwardnet) in MATLAB uses pre-processing and post-processing functions to process the input and ...

2 years ago | 0

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

8 years ago