Answered
DAGNetwork showing no properties.
Here are the explanations for the three different types of warnings you’re seeing. Reference to non-existent field 'IsAvera...

5 years ago | 0

| accepted

Answered
LSTM (more input steps than hidden layers) How does Matlab handle this?
You’ve shown in your diagram that an LSTM unrolls with each cell connected to the next (except the last cell, of course.) The co...

5 years ago | 3

| accepted

Answered
Extract rows from table to input into new table
You can do this with ismember and logical operators. ind1 = ismember(T.Var1,[3 5]) ; ind2 = ismember(T.Var2,[5 4]); ind3 ...

5 years ago | 0

Answered
Error reshape in neural network
The first input argument to the sequenceInputLayer should be the size of the input sequence at each time step. If your input ...

5 years ago | 0

Answered
Finding coefficients of polynomials with inequality constrains
Have a look at the following example to see if it can help you: https://www.mathworks.com/help/symbolic/solve.html#buql15h-5 ...

5 years ago | 0

Answered
Training of Mamdani Fuzzy Logic systems?
Have a look at the following example to get started: https://www.mathworks.com/help/fuzzy/tune-mamdani-fuzzy-inference-system.h...

5 years ago | 0

Answered
How do I get ridge regression tuning parameters from fitrtree and crossval?
crossval finds the k-fold cross validation loss of a given model with respect to a given dataset. I don’t see how you can use fi...

6 years ago | 0

Answered
Incorrect tanhLayer output in RL agent
I’ve tried this. I still don’t see the values going beyond [–1, 1]. However, I might be able to answer your question. If you hav...

6 years ago | 1

| accepted

Answered
How to plot this equation?
Your question is unclear to me as well. I’m not sure what the independent variables are here. There are broadly two main ways...

6 years ago | 0

Answered
spectrogram having as input a vector F
The spectrogram function computes the Short-Time Fourier Transform (STFT). The STFT will be computed at frequencies (in Hz) s...

6 years ago | 0

Answered
Must I have dataset with multiple classes in a single image to train a Faster R-CNN detection network?
You can have images with only one class. There is no issue with that. The issue is with bboxwrap which you used while performi...

6 years ago | 0

Answered
Deep Neural Network process
Although I’m not sure which functions you are using to implement your Feedforward Network, I should still be able to answer your...

6 years ago | 0

Answered
Calculate Expected Value and Variance for Bivariate Normal Distribution
To find the empirical estimate of variable XY, you can use the following command: Exy = mean(prod(R,2)); To find the empiric...

6 years ago | 0

| accepted

Answered
Plot Fourier Series on MatLab
Your coefficients are right. The issue is that instead of adding the n-th cosine to the exiting variable ‘fourier’, you were ove...

6 years ago | 0

Answered
potential design mistake impedance measurement block
Looks good to me. Here’s the model I’ve tried with identical Parallel RLC branches having values: R = 1e9 Ohm, L = (1e-1)/(2*p...

6 years ago | 0

| accepted

Answered
How can I fix this code to work?
Try replacing: m.gl_data(s(1)+1, :) = glcm_data; with m.gl_data(s(1)+(1:k), :) = glcm_data; The code was trying to as...

6 years ago | 0

Answered
Multiple ego vehicle with same sensor added to the scenario at the same point in different simulation time
Multiple ego vehicles are not supported by the Driving Scenario Designer App currently. There are potential workarounds for s...

6 years ago | 0

| accepted

Answered
LSTM을 만들고 training 시킬 때 Number of Time Steps을 변경할 수 있는 방법이 있나요?
(English version) You are right. The number of time steps in an LSTM can be specified using the ‘SequenceLength’ attribute in ...

6 years ago | 0

Answered
how can I find destiny power spectrum using the pwelch function?
I am unsure what issue you are facing with the pwelch function. Here is an example from the documentation to get you started: ...

6 years ago | 0

Answered
How to sit a fixed value of k with an array of θ values, or a fixed value of θ with an array of k values?
A simple way of checking whether your conditions are met would be by using the modified code given below: flag = 0; while ~fla...

6 years ago | 0

Answered
What's meaning of dicom-dict.txt file 4th column "1-n"?
The fourth column represents Value Multiplicity. Check the following link for more details about Value Multiplicity: http://dico...

6 years ago | 0

| accepted

Answered
How can i connect the '.' points of the given figure. i don't want to connect '*' with any point?
Try using the following code to plot: %% Plot lw = 2; % LineWidth ms = 15; % MarkerSize figure xlim([-0.2 1.2]) ylim([...

6 years ago | 0

| accepted

Answered
My quiver plot seems to go flat when I am plotting a coupled ode.
I believe, while trying to compute dx and dy, you intended to find the elementwise product using the matrices of x and y. Try th...

6 years ago | 0

Answered
Predict future values of a PRNN
Explanation for the output you’re getting: Your patternnet is learning a mapping/relationship between the inputs and the t...

6 years ago | 0

| accepted

Answered
Reset Terminal States in Grid World example using RL Toolbox
There are a couple in different ways in which custom environments can be defined in MATLAB. Have a look at https://www.mathworks...

6 years ago | 0

Answered
reset function of reinforcement learning?
Yes, I believe you're right. Thanks for pointing this out.

6 years ago | 0

Answered
sequence learning using LSTM
Have a look at the example here: https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.lstmlayer.html#d117e90134 Alth...

6 years ago | 1

| accepted

Answered
how make 3d plotting
Please have a look at the code below. I assume when you say the ball should fall to the ground, it comes back to the same ini...

6 years ago | 0

Answered
Fixed point tool conversion
You can convert a particular subsystem to Fixed Point by selecting it under System Under Design while preparing the system. Chec...

6 years ago | 1

Answered
Error" 'lyap' requires control system toolbox""
The Control System Toolbox is a piece of software that can be purchased along with MATLAB. This toolbox contains functions and a...

6 years ago | 1

Load more