Community Profile

photo

Srivardhan Gadila


Last seen: Today

MathWorks

212 total contributions since 2019

I am an Application Support Engineer at MathWorks.
Disclaimer : Any advice or opinions here are my own, and in no way reflect that of MathWorks.

Srivardhan Gadila's Badges

  • 3 Month Streak
  • Knowledgeable Level 3
  • Revival Level 2
  • First Answer

View details...

Contributions in
View by

Answered
Use Matlabfunction in simulink function block
Refer to the following resources: Storing Data Using Data Store Memory Blocks Arguments and Units in MATLAB Function Block Ad...

13 hours ago | 0

Answered
Keras 2.3.1 models
As per my knowledge the "Deep Learning Toolbox Importer for Keras Models support package" installed from Add-On Explorer support...

14 hours ago | 0

Answered
Creating a Datastore from either two Datastores, or a number of files populated in different folders.
As per my understanding I'm listing the two ways of comibing the datastores dsL & dsR: %First one imdsCombined = combine(imdsd...

18 hours ago | 0

Answered
What activation function does fullyConnectedLayer uses?
As mentioned by @Mohammad Sami, In order for an activation function after fullyConnectedLayer, you have to include an activation...

18 hours ago | 0

Answered
Make axis line invisible but not tick labels
As per my knowledge w.r.t current documentation, I think there is no way to make borders dissapear along all the sides with tick...

19 hours ago | 0

Answered
save a fprintf as text data
You can refer to fprintf documentation, it's Examples & fileID = fopen(filename,permission) fileID = fopen('textFile.txt','w');...

20 hours ago | 0

Answered
Why test, train and validation performance are so different from global performance in my neural network?
As per my knowledge, the way you are calculating the trainPerformance, valPerformance & testPerformance may not be correct. Inst...

23 hours ago | 0

Answered
How to "prune" a one hidden layer NN such that the off diagonal elements of the weights, that is, "net.IW{1}" and "net.LW{2}", are zeros?
As per my knowledge w.r.t shallow nerual networks you cannot freeze non-diagonal weights & make the diagonal wieghts only to upd...

1 day ago | 1

Answered
Data augmentation in CNN
The following are few suggestions: Make sure that all the classes have equal number of observations. Check how trainNetwork us...

2 days ago | 0

| accepted

Answered
How to compute lognormal distribution
You can try something like below: format long g folder = 'BCC_CSM.xlsx'; file = xlsread(folder); dt = datetime([file(:,1:3...

2 days ago | 0

| accepted

Answered
Labeling a stacked bar
The following example might help you: x = [1 2 3]; vals = [2 3 6; 11 23 26]; b = bar(x,vals); xtips1 = b(1).XEndPoints; y...

3 days ago | 0

Answered
How do I create 2 x-axis labels?
The following code might help you: % yAxis label 1 t = text(-20,60,'Cancer','HorizontalAlignment','center','FontWeight','bold'...

3 days ago | 0

Answered
Add annotation to a parent figure middle left
The following code might help you: close all figure1 = figure('PaperSize',[8 8]); N = 5; for i=1:N f = subplot(N,1,i); ...

3 days ago | 0

| accepted

Answered
how to update certain library block
The SPICE you mentioned are under the Additional Components. In the release notes under the R2019a->Simscape Electrical->Library...

3 days ago | 0

Answered
Index in position 1 is invalid. Array indices must be positive integers or logical values.
for e=1:798 if (f2(b,1) > 0 && f2(b+1,1) < 0)||(f2(b,1) < 0 && f2(b+1,1) > 0) s = s + 1; else...

3 days ago | 0

Answered
Plot/Animating multiple lines on matlab at the same time?
From the above code I see that plot ([A1(1) P1(1)],[A1(2) P1(2)]) is called only when x1 reaches it's final iteration value. So ...

3 days ago | 0

Answered
How to graph plots with different value variables?
Refer to the documentation of hold and use it as follows: for i=1:8 % % Your code goes here % plot(FX,K1(i)) ...

3 days ago | 0

Answered
student 버전 여러대 컴퓨터에서 사용
Refer to the following MATLAB Student and MATLAB and Simulink Student Suite & How do I transfer a Student or Home license to a n...

3 days ago | 0

Answered
modify the matrix, rearrangement of elements
The following code might help you: sz = size(a); rowMat = zeros(1,prod(sz)); ind = 1; for i = 1:sz(1) j = 1; ii = ...

4 days ago | 0

| accepted

Answered
Adding different colorbars to each row of subplots? Removing subplot axes? Decrease subplot spacing?
The following code might help you w.r.t the points 1. COLORBAR(Changing the Position (position: [left bottom width height]) prop...

4 days ago | 0

Answered
Neural Network for binary classification
You can refer to the Deep Learning Toolbox — Examples, List of Deep Learning Layers, Create Simple Image Classification Network ...

4 days ago | 0

Answered
Is it possible to have a structure as an input and use its fields as constants in Simulink?
You can refer to Simulink.Bus.createObject & How to convert a struct into a bus. And the following code might help you: par.am...

4 days ago | 0

Answered
filling an empty matrix using a for loop
You can define U_det_r as a cell array or normal array and store the values corresponding to each iteration as follows: U_det_...

4 days ago | 0

| accepted

Answered
Z order (Morton Curve) for matrix .and Hausdorff distance.
From the above information the function mapping calls itself recursively. So if you simply renamed the function mapping to Zord...

5 days ago | 0

Answered
LSTM input size mismatch
With the following code I was able to construct layerGraph with no errors. Make sure you define the lstmLayer with right input a...

5 days ago | 0

Answered
How to open multiple images sequentially for text extraction and save it in a file
I think the read(ds) reads the files in the datastore in the order ds.Files{1}, ds.Files{2}, ds.Files{3}...........so on. Once ...

27 days ago | 0

| accepted

Answered
What are the dimensions mentioned in fully connected layer stands for (D, N and S) ?
N stands for number of observations (or sequences). For more information you can refer to: sequences Input Argument of the fu...

28 days ago | 0

Answered
increase number of hidden layers
You can refer to List of Deep Learning Layers and add layers like convolution2dLayer, fullyConnectedLayer to your above layer ar...

28 days ago | 0

Answered
Is it possible to run a NARX neural network with less than 10 timesteps?
If you are creating nerual network from nnstart then you would require atleast 10 timesteps. Alternatively if you can follow th...

28 days ago | 0

| accepted

Answered
Self Organizing Map (SOM) plot interval saving process
From the documentation of selforgmap, Neural Network Object Properties & Neural Network Subobject Properties I cannot find any i...

28 days ago | 0

Load more