photo

Shantanu Dixit


Last seen: 1 day ago Active since 2023

Followers: 1   Following: 0

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Simulink C-caller with persistent fcn
Hi Jack, You can make the 'state' variable persistent within a C-caller block in Simulink by declaring it as 'static' in your C...

21 days ago | 0

Answered
What is the difference between dlnetwork and serisenetwork about deep learning?
Hi Jun, Both 'dlnetwork' and 'SeriesNetwork' are used to specify deep learning architectures in MATLAB. However, starting from ...

21 days ago | 0

| accepted

Answered
Generate a vector with elements based on certain elements in another vector
Hi Bob, You can achieve the conditional vector by first creating a vector 'B' initialized to zeros and then assigning the value...

23 days ago | 1

Answered
What is the difference between net.inputWeights{i,j}=2 and net.inputWeights{i,j}.delays=[1,2];
Hi Emebet, A Nonlinear Autoregressive with Exogenous Input (NARX) model uses past values of both the input signals and its own ...

24 days ago | 0

Answered
I want to connect device. How can I connect libusb?
Hi Sang, USB device can be integrated with MATLAB using a mex file. By doing so, you can execute C/C++ code directly from MATL...

24 days ago | 0

Answered
Mathworks - Simulink need java?
Hi Vijaykumar, Simulink does utilize Java for certain functionalities, but it is not mandatory to have Java installed on your ...

24 days ago | 0

Answered
How can I modify my code from the Explicit Method to the Implicit Method? Thank you
Hi Xavier, To change from the explicit method to the implicit method for calculating temperature distribution across a slab, he...

25 days ago | 0

Answered
How to get my QR factorization code to give Q and R and make them stored in the Q and R variables
Hi Douji, It looks like you're facing some issues with the correctness of R and the absence of Q while implementing the Gram-S...

2 months ago | 0

Answered
出现需要使用'Level-2 MATLAB S-Function'的错误
Hi 伟鹏 , The issue arises from the fact that the above S-function code is a 'Level-2 MATLAB S-function', but the block used supp...

2 months ago | 0

Answered
equationsToMatrix output defaults to negative
Hi Adam, if my understanding of the problem faced here is correct then the issue is likely due to the way the equations are bein...

2 months ago | 0

Answered
Optimizing Hyperparameters for trainnet fucntion
Hi Isabelle, The 'bayesopt' function requires an objective function as its first argument, which it aims to minimize using the...

2 months ago | 0

Answered
Mixed Type Observation Variables in RL
Hi Mahmood, The issue encountered is due to the mismatch between the observation space and the network input layer. For incorpo...

2 months ago | 0

Answered
I have error in convnet , traindata = trainnetwork
Hi Charan, The error encountered at trainNetwork might be due to how the data is being processed since the lgraph seems to be ...

2 months ago | 0

Answered
Hierarchical classification with two models
Hi Supriya, hierarchical classification with two models can be done given we have ground truth data for both classes 3 and 4. Wi...

2 months ago | 0

Answered
How to use MergeThreshold in vision.CascadeObjectDetector
Hi ShengJu, The 'MergeThreshold' parameter defines the criteria needed to declare a final detection by requiring multiple overl...

3 months ago | 0

Answered
Clock signal block simulation is different from practical analysis
Hello Irfan, The behaviour you're observing is expected due to the nature of numerical simulations in Simulink. The solver upd...

3 months ago | 0

Answered
Using Reinforcement learning for parameter estimation
Hi Ehsan , Although pin-pointing the exact cause of the issue can be challenging, here are some potential workarounds you can c...

3 months ago | 0

Answered
Log or simple returns in the backtest results of the financial toolbox
Hi Florent, I also had a similar question about whether the backtest results in MATLAB's Financial Toolbox use simple returns o...

3 months ago | 0

Answered
how can I use t-sne to visualize network in image segmentation
Hi Yan, t-SNE (t-Distributed Stochastic Neighbor Embedding) can be used in semantic segmentation to visualize the high-dimension...

3 months ago | 0

| accepted

Answered
AIC values for a OGPR model trained in the Regression Learner App
Hi Laura, AIC (Akaike Information Criterion) can be used to evaluate and rank different models based on their performance for a ...

3 months ago | 0

Answered
Is there a way to append a SiftPoints Object?
Hi Kunal, It is not possible to concatenate 'SIFTPoints' objects directly, as MATLAB treats them as scalar objects that encapsul...

3 months ago | 0

Answered
Openpose onnx for hand and finger keypoint detect
Hi Alex, Hand Pose Estimation using HRNet deep network has been introduced in MATLAB from R2023b release. You may find the examp...

3 months ago | 0

Answered
What code can I use if I want to add a condition wherein if I show a picture that is not registered in the database folder it will display 'Unrecognized Face
Hi Abdul, Instead of assigning the highest score from the image classification model directly, consider applying a confidence t...

3 months ago | 0

Answered
Code for locating pivots in LU decomposition
Hi Ye, The missing logic in your code is the part that identifies the pivot element needed for partial pivoting. Specifically,...

3 months ago | 0

Answered
what is the different between jaccrad index and evaluatesemanticSegmentation?
Hi Yasmin, 'Jaccard Index' typically calculates the Intersection over Union (IoU) for pairwise comparison of two binary or lab...

3 months ago | 0

Answered
Human Detection using YOLOV3 with own Weights
Hi Hanes, to perform real-time human detection using 'yolov3', use 'snapshot' functionality available in MATLAB to capture frame...

3 months ago | 0

Answered
How do I estimate a state-space model using ParamMap?
Hi Ed, the error you are encountering is due to the fact both 'Cov0' and 'StateType' are defined in 'ParamMap'. When implicitly ...

3 months ago | 0

Answered
Trained CNN model partitioning into two networks
Hi Andrea, 'DAGNetwork' objects are not recommended by MathWorks now, use 'dlNetwork' instead. For giving the output of model...

3 months ago | 0

| accepted

Answered
How capture the error value for each epoch?
Hi Caio, To save the rmse values to a .xlsx file after training the model use ‘writeTable’ as writetable(rmseTable,’rmseValue...

3 months ago | 0

Load more