Answered
Problem with closeloop of network Narx
HI Francisco, To perform multi-step (e.g., three-step) ahead prediction with a NARX network in MATLAB, you first convert your t...

4 months ago | 0

Answered
How to import weights and bias in nntool
Hi Niculai, To reuse pretrained weights and biases in a new network architecture using nntool, you first need to locate the wei...

4 months ago | 0

Answered
In a single hidden layered neural network, how do I calculate sensitivity of each input parameter on the output of the result?
Hi Sunil, To assess how each input parameter affects the output of your neural network, you can calculate the sensitivity of th...

4 months ago | 0

Answered
rank of PCA of first order kinetic after meancentering
Hi Nona, When analyzing first-order kinetic data, the concentration profiles of different samples over time are all proportiona...

4 months ago | 1

Answered
PSO coding for multi-objective function-cost fumction and congestion function
Hi Subash, Particle Swarm Optimization (PSO) is a popular metaheuristic technique used for solving complex optimization problem...

4 months ago | 0

Answered
How to set the initial state of NARX networks during a Simulink simulation?
Hi Luke, When switching between two trained NARX neural networks (NN1 and NN2) in Simulink, and you need the active network to ...

4 months ago | 0

Answered
How to change the number of inputs NN tool?
Hi Bhairvi, If you want to use MATLAB’s nntool to create a neural network with 4 inputs, 10 hidden layers, and 1 output, you sh...

4 months ago | 0

Answered
Multcompare for fitlm output or something similar?
Hi Paul, You are correct that a significant X*G interaction in your model (Y ~ CV1 + CV2 + X*G) indicates that the slope of Y v...

4 months ago | 0

Answered
Why there is difference in MATLAB and RStudio outputs of PCA?
Hi Maryam, When performing Principal Component Analysis (PCA) in R using the prcomp() function with center=TRUE and scale.=TRUE...

4 months ago | 1

Answered
A question about Block PCA application
Hi Dong, To perform PCA on subpictures (blocks) of each image and prepare the data for SVM classification, you should first div...

4 months ago | 0

Answered
How do I use a quintic spline function (spapi)?
Hi Kazumichi, To perform quintic spline interpolation with your data in MATLAB using the spapi function, you first need to deci...

4 months ago | 0

Answered
Displacements and strains in Ncorr vs Ncorr_post
Hi Dhanushka, This discrepancy typically occurs because Ncorr_post applies a scaling factor to convert pixel displacements to p...

5 months ago | 0

Answered
SVM classification using LIBSVM, Accuracy Problem
Hi HST, When working with neural networks for classification in MATLAB, it’s crucial to properly format your input data and tar...

5 months ago | 0

Answered
Neural Network toolbox. Training and testing the model
Hi Medet, Absolutely, scaling your data is a crucial step when working with neural networks, especially when your output variab...

5 months ago | 0

Answered
PCA and WPCA for dimentionality reduction after Feature Extraction in speaker recognition system
Hi Shaikha, After extracting MFCC features, it's common to apply dimensionality reduction techniques such as PCA (Principal Com...

5 months ago | 0

Answered
what is the code of plotroc only in testing sample
Hi Zhou, By default, the plotroc function in MATLAB's Neural Network Toolbox will plot the ROC curve using all data (training, ...

5 months ago | 0

Answered
multcompare and anovan with continuous group variable
Hi Christina, The error you encountered arises because the multcompare function in MATLAB is intended for making pairwise compa...

5 months ago | 0

Answered
multcompare: 6th column of 'c'?
Hi Powel, 1)You are correct that in recent MATLAB versions, the c-matrix output from multcompare includes a sixth column contai...

5 months ago | 0

Answered
Last version of MULTICOMPARE script
Hi Maria, If you're using an older version of the multcompare script that doesn't provide p-values, you can still perform multi...

5 months ago | 0

Answered
tensor product spline evaluation
Hi jack, You can efficiently evaluate a bivariate B-spline surface at many arbitrary (x, y) points without a for-loop by using ...

5 months ago | 0

Answered
how we find trainSet or testSet in form of row or column????
Hi Prema, If you want to display your training or test set in MATLAB either row-wise or column-wise, you can use simple indexin...

5 months ago | 0

Answered
"sequentialfs'' selects only the first column in the feature set.
Hi Ounkhin, The issue you’re experiencing with sequentialfs always selecting the first feature is commonly due to either the da...

5 months ago | 0

Answered
Any Matlab procedure to compute Peristence Diagram in a dimension higher than 3? I have the Topological Data Analysis module but the procedures go just up to dim-3
Hi tanya , Currently, MATLAB’s Topological Data Analysis (TDA) module only supports computation of persistence diagrams up to d...

5 months ago | 0

| accepted

Answered
Why is http request blocked even though I have empty ProxyURI and no Web Settings proxy specified?
Hi Daniel , It appears that the issue arises because, even though you have unchecked "Use a proxy server to connect to the inte...

5 months ago | 0

Answered
Is simulink model is independent of microcontrollers?
Hi Jerry , It is not possible to create a single, universal Simulink block that works across all microcontrollers (like STM32, ...

5 months ago | 1

| accepted

Answered
Can glmfit() be used with time/epoch sampled data?
Hi Psemaj, Yes, you can use glmfit() for your data if you treat each trial’s time series as a feature vector. In this approach,...

5 months ago | 0

Answered
how can I add a bias in lassoglm?
Hi Debora, When you use lassoglm in MATLAB , the intercept (bias/constant) is handled automatically; you do not set it manually...

5 months ago | 0

Answered
How to get the Multiobjective GA code for the optimal placecment of DGs in Radial distribution System?
Hi Bala, Here’s an introductory MATLAB code template for Multi-Objective Genetic Algorithm (MOGA) applied to Optimal Siting and...

5 months ago | 0

Answered
wind speed and wind power forecasting
Hi Eng, Below is an example of how you can forecast wind speed in a wind farm using an Artificial Neural Network (ANN) in MATLA...

5 months ago | 0

Answered
how do i use the bootstrap method with a custom fit function?
Hi Chad, Yes, you can use your custom function within the bootstrp function by defining it as a function handle. The bootstrp f...

9 months ago | 0

Load more