Answered
how to write pseudocode in simulink
By pseudocode in Simulink, if you mean you're loooking to setup a high level structure for your Simulink model, you could do tha...

3 years ago | 0

Answered
Reading python pickle of dict in MATLAB causes error
Map containers might be what you're looking for.

3 years ago | 0

Answered
Clock game,how to set parameters
This is fun. Since this seems ilke a HW problem, I'm just going to list out what functions I think you might find useful: randi...

3 years ago | 0

Answered
How can I import the CNN results from MATLAB to GNU Radio or OpenVINO
As mentioned on this doc page on Import and Export of Networks, you can export networks from MATLAB to the ONNX format using the...

3 years ago | 0

Answered
Generate random numbers from a probability density estimate
By heatmap, if you're looking to plot the estimated density function, you can plot that using f and xi. Here's a good example th...

3 years ago | 0

Answered
how to add method to fuzzy toolbox
If you're looking to add custom defuzzification methods, have a look at this section on adding custom defuzzification methods fr...

3 years ago | 0

Answered
Add custom defuzzification methode - code needed for modified center of area
Adding to Nikolaos' answer, have a look at this section on adding custom defuzzification methods from this page on Building Fuzz...

3 years ago | 0

Answered
Error with Fuzzy Tree Model
There were a couple of issues that needed fixing. Every FIS needs to have its Inputs, Outputs and MFs defined separately. FIS...

4 years ago | 0

| accepted

Answered
how can i read a use a fits file?
I think what you're looking for are the fitsread and fitsinfo functions. There are examples in the doc pages for the both the f...

4 years ago | 0

| accepted

Answered
Co-Active (CANFIS)
Here's a community contribution from the File Exchange that might be of use to you: https://www.mathworks.com/matlabcentral/file...

4 years ago | 0

Answered
Multiple Plot in gensurf in fuzzy system
You might be looking for the plotmf function which plots the different membership functions from an FIS object. Some examples ...

4 years ago | 0

Answered
Error in fuzzy logic controller file
This error arises because your FIS file is not found in the present working directory (pwd). This is mentioned in the docs for...

4 years ago | 1

Answered
Real time plot arduino in app designer
I'm not entirely clear as to your end goal but my understanding is that you're trying to read and write some signals to and from...

4 years ago | 0

Answered
wired behaviour in the Transposed Convolution Layer
Part 1 I see this too. The doc for 'NumChannels' property mentions that the parameter must be equal to the number of channels o...

4 years ago | 0

| accepted

Answered
How to track objects using trackerGNN with some logic applied
Here's an example of how trackerGNN can be used in object tracking: Track Two Objects with trackerGNN Since you mention that yo...

4 years ago | 0

Answered
Setting initial hidden state of an LSTM with a dense layer
Sequences are padded to the 'longest' in a mini-batch. More on that here: Sequence Options The same initial value for Hidden st...

4 years ago | 0

Answered
Raspberry Pi Fuzzy Logic
Here are links from the docs on setting up a Raspberry Pi and obtaining data from it. The second link has references to many exa...

4 years ago | 0

Answered
Training a dense layer along with an lstm layer
I suppose what you're asking for is to have an LSTM layer in which the initial values of hidden state is trainable. If that's th...

4 years ago | 0

| accepted

Answered
Extract solution from struct
The setup looks good. You can use the solve function to find the solutions to a given symbolic equation as shown in this example...

4 years ago | 0

Answered
Hanning window, interpolation and resampling
This looks like it's part of an assignment. It would be better if you could share your attempts (code) so far and mention the er...

4 years ago | 0

Answered
Digital signal processing using FFT
It's true that the typical value of n is a power of 2 in n-point FFTs. It's not mandatory though. As mentioned in the doc for ...

4 years ago | 0

Answered
DFT TECHNIQUE to determine FREQUENCY
This looks like a homework problem. Please show the attempts you've made so far and mention where you're getting stuck. Since y...

4 years ago | 0

Answered
initial guess for bvp4c
There are three parts to this problem: 1. Error: Too many input arguments. To solve this issue, the second argument to bvpinit...

4 years ago | 0

| accepted

Answered
I have the errors when learning GARCH: lags must be unique, positive integers?
'GARCHLags' and 'ARCHLags' properties can only be positive vectors. See function syntax. This is because the 'GARCHLags' input c...

4 years ago | 0

Answered
Conditional Indexing of a cumsum
Store find(cs<=1) in a temporary variable and count the number of elements in that list. tmp = find(cs<=1); if numel(tmp)>=4 ...

4 years ago | 0

| accepted

Answered
Fast Fourier Transform for frequency domain
The attached paper says in Section 2.2.1: Fourier transform (FT) is particularly interesting among the data processing meth...

4 years ago | 0

Answered
HOW TO USE RIRE TO SHORTCUT DICOM INFO
From what I gather, the RIRE format contains header and data files as mentioned here: https://www.insight-journal.org/rire/data_...

4 years ago | 0

Answered
How to generate Matlab code for ANFIS?
If you're looking for the underlying MEX code, I'm afraid that will not be accessible. You can however see some limited code b...

4 years ago | 0

Answered
For loop in GARCH Monte Carlo Simulation
I'm unsure what the variables mean. If what you are trying to do is preserve the values at each step of your for loop, you can d...

4 years ago | 0

| accepted

Answered
1d CNN with classification layer for prediction
A couple of details are unclear to me. I don’t understand the different classes you have in a wind speed dataset. If the X_t...

4 years ago | 0

Load more