photo

Yash Sharma


Last seen: 2 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • 12 Month Streak
  • Knowledgeable Level 3
  • First Answer

View badges

Feeds

View by

Answered
Is it possible to create global variables (objects) of custom classes in Simulink?
Hi Roop, You can take a look at the following Matlab answer to answer your query. https://www.mathworks.com/matlabcentral/answ...

4 months ago | 0

Answered
Is it possible to change some parameters during a RL training?
Hi Leonardo, If you want to change some parameters while the training is running, you will need to implement a custom training ...

4 months ago | 1

Answered
Complete transformer model (Encoder + Decoder + Interconections)
Hi Will, You can take a look at the following file exchange submission. Transformers Models:- https://www.mathworks.com/matlab...

4 months ago | 0

Answered
how to display the calling relation ship between simulink function and function caller
Hi wenchao, To visually showcase the relationship between a function caller and a Simulink function, follow these steps: Open ...

4 months ago | 0

| accepted

Answered
how to build one to many and many to many LSTM in matlab?
To build one-to-many and many-to-many LSTM models in MATLAB, you can use the Deep Learning Toolbox. You need to change number of...

5 months ago | 0

Answered
Creating simulink neural network from my own weights and bias
To integrate your manually created neural network into Simulink, you can use MATLAB Function blocks to implement the network's f...

5 months ago | 0

| accepted

Answered
Training TCN network in batches to predict a continuous variable
To train your network with time-series data from multiple trials while preserving the sequential nature of the data, you need to...

5 months ago | 0

| accepted

Answered
How to train autoencoder on dlarray data for feature extraction?
To train an autoencoder for dimensionality reduction on your high-dimensional time-series dataset, you can follow these steps in...

5 months ago | 0

| accepted

Answered
Saving Simulink Model Programatically also makes a copy of a test harness
Hi, In order to stop auto generation of test harness you will have to detach the harness form the model, follow the below step...

5 months ago | 0

Answered
Stateflow use custom C code, while generating C++ using Embedded coder
Hi Jafar, To integrate C custom code with C++ code generation in Simulink using Embedded Coder, you can configure your model a...

5 months ago | 0

| accepted

Answered
Neural network for regression task: Circuit modeling
Hi Simone, To adapt your current deep learning model to take into account the "memory" effect of your electrical circuit by usi...

6 months ago | 0

Answered
Which equation is solved with ThermalModel?
For thermal analysis, the thermalModel object in MATLAB simplifies the process of setting up and solving heat transfer problems....

7 months ago | 0

Answered
Method to utilize compressor table in Powertrain Blockset on own purpose
To build a compressor map and correlate it with your own data for use in a Simulink model independently from the Powertrain Bloc...

10 months ago | 0

Answered
Saved Agent gives me constatn output always..
Hi Sungho Park, I understand that you have a pretrained RL DDPG agent and you want to load that agent in MATLAB, when you load ...

11 months ago | 1

Answered
multidimensional triangulation based on non-Euclidean distances from landmarks
Hi Philipp, Landmark MDS can work with non-Euclidean distances, such as correlation distances. However, it's important to note ...

11 months ago | 0

Answered
Communicating to NET dll by class.
Hi Laurent, Yes, it is possible to send a class to and from a MATLAB .NET assembly and a C# Visual Studio project. MATLAB Compi...

11 months ago | 1

| accepted

Answered
can't smooth GM nifti images using spm12
Hi Ali, It appears that the smoothing operation in SPM12 has failed due to an issue with the datatype of the image you are tryi...

11 months ago | 0

Answered
Training of RL DDPG Agent is not working (Control of an Inverted pendulum)
I understand that you have a reinforcement learning DDPG agent and wants to set learning rate and exploration options of that ag...

1 year ago | 0

| accepted

Answered
How can I customize code obfuscation in embedded coder?
I understand that you want to have custom structures in the C code generated by embedded coder. Please review the following doc...

1 year ago | 0

Answered
Setting a class object property of type string class in a Coder project
I understand that you have a property of string type and wants to change the length of the property using object of the class. ...

1 year ago | 0

| accepted

Answered
How do I use Matlab Compiler SDK to create executable for GUI app
I understand that you have a MATLAB GUI app and want to make a standalone executable of the same. Here are the steps that you ca...

1 year ago | 0

Answered
creating video fire effect from perlin noise
Hi David, I understand that you want to create a fire like effect using perlin noise. The basic idea is to generate Perlin no...

1 year ago | 0

Answered
Simulink SDI Snapshot Command Missing Data
Hi Richard, I understand that you want to take snapshot of a plot with 15 signals spread across 9 subplots, to ensure that the...

1 year ago | 0

| accepted

Answered
Infineon Mosfet SPICE to simulink
Hi Fan, I understand that you want to import an Infineon MOSFET SPICE Model to Simulink, I used your model file, and it is ind...

1 year ago | 0

| accepted

Answered
comparing subsets of bagofwords and converting bagofwords to cell array
I understand that you have three Bag of Words arrays: spam, nonspam, and allwords. The spam and nonspam arrays are subsets of th...

1 year ago | 0

Answered
It is to ask how to Extract features from a signal in matlab
I understand that you have large amount of time series data and you want to extract features like mean, min, max, std, median u...

1 year ago | 0

Answered
How to draw a polar coordinate ODE system's phase portrait and trajectory?
Hi Zixuan, I understand that you want to plot phase portrait and trajectory of a linear system of equations with complex eigen...

1 year ago | 0

Answered
How can I generate HTML documentation from help/doc output?
Hi Ray, I understand that you want to create HTML documentation for your toolbox that mostly have “classdef” classes. You can ...

1 year ago | 0

Answered
시뮬레이션 중간에 s-function을 초기화(clear mex) 할 수 있나요?
I understand that you want to simulate a system failure and want to re-initialize S-function in middle of simulation. To initia...

1 year ago | 0

Answered
How to call windows system .dll (CancellationToken)
Based on my understanding, you are trying to access the CancellationToken class from “System.Threading”, but it seems that the c...

1 year ago | 0

| accepted

Load more