Community Profile

photo

Souarv De


Indian Institute of Technology Ropar

Last seen: 6 månader ago Active since 2019

Ph.D. Scholar

Programming Languages:
C
Spoken Languages:
English

Statistics

All
  • Thankful Level 3
  • Thankful Level 2
  • Treasure Hunt Participant
  • Solver
  • First Review
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Answered
How to re-open all the m.files
%parse XML file xmlFiles = xmlread([prefdir filesep 'MATLAB_Editor_State.xml']); %Retrieve the "clients" FileNodes = xml...

6 månader ago | 1

Answered
How can I save a list of open m-files?
%parse XML file xmlFiles = xmlread([prefdir filesep 'MATLAB_Editor_State.xml']); %Retrieve the "clients" FileNodes = xml...

6 månader ago | 0

Question


How to use fread from TCP/IP of a string?
Hello guys I am trying to send a string from client to server using the fwrite command and while fread it in the server side I ...

ungefär 2 år ago | 2 answers | 0

2

answers

Question


How to create TCP IP Server in MATLAB R2020b without using tcpip command as it states it is not recommended.
It is very shocking to see that unlike MATLAB R2021a, in MATLAB 2020b there is no "tcpserver" matlab command exists. There is on...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


Wrong and Excessive values are received by the Host Server MATLAB while communicating Via TCP/IP Server Socket with Client Server MATLAB installed at different computer.
I was trying to transfer data via TCP/IP Server Socket communication between two different version of MATLAB installed in two di...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to use MATLAB RGB triplets and hexadecimal color codes for a custom plots?
I need to plot four variables in a single plot with 4 different RGB triplets colors whose RGB Triplet are as follows: [0 0.4470...

ungefär 2 år ago | 2 answers | 0

2

answers

Question


How to calculate the moving average of a finite duration data using sliding concept?
I want to compute the moving average of the data array as X = [2 3 4 5 6 8] using sliding window concept with window size of 4. ...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


Can we compute the graph Laplacian matrix for a directed graph?
How to find graph laplacian matrix of a directed graph?

ungefär 2 år ago | 2 answers | 0

2

answers

Answered
Import from 2021a to 2020b unsuccessful for simscape electrical blocks
Yes priya, I completly agree with you. This is really very unfortuate for the users to use R2021a. Same problem happening with m...

mer än 2 år ago | 0

Question


Failed to Export Simulink Model From R2021a to R2018a
When I am going to export my simulink model to old version from 2021a to 2018a, the following error message was shown - "Error...

mer än 2 år ago | 1 answer | 0

1

answer

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

mer än 2 år ago

Answered
Simulation stuck in the Termination phase in Simulink 2014b!!
I am also facing the same issue.

mer än 2 år ago | 0

Question


How to delete some specific rows of a column vector simultaneously?
% C2 A = [12 14 24 26 15 11 18 14 ]; A is a column vector. I want a small one-...

nästan 3 år ago | 1 answer | 0

1

answer

Question


How to store data whose dimension varies at each steps of run?
I have a program, let say it runs for N times. So say b=1:N. Now at each iteration I get an array A whose size varries in the or...

nästan 3 år ago | 1 answer | 0

1

answer

Answered
Select a random number from a set
rand_Pos = randperm(length(x),1) card = x(rand_Pos)

nästan 3 år ago | 3

Question


Shorting dissimilar Elements from an Array
Suppose I have an array A of elements from 1 to 20 sequentially. Let B = [10 9 2 4 7 16 17 15 11 13]. I need an array C (Assend...

nästan 3 år ago | 1 answer | 0

1

answer

Question


Converting Cell matrix to a Numeric Matrix
I have a cell matrix as shoown below. B={'2' '3' '5'; '4' '7' '2'; '7' '5' '2'} B = 3×3 cell array {'2'} {'3'} ...

nästan 3 år ago | 1 answer | 0

1

answer

Question


Finding Connected Component in the graph.
I have following two questions. (1) How to find number of connected components in a graph in MATLAB? (2) How to find the numbe...

nästan 3 år ago | 1 answer | 0

1

answer

Question


How to remove redundant elements in a sparse matrix?
I have the following Sparse Matrix E with the following redundant elements i.e (2,1) = (1,2), (5,1) = (1,5), (2,3)=(3,2) and (2,...

ungefär 3 år ago | 1 answer | 0

1

answer

Answered
Simple question regarding bar plot with categorical data
I also faced the same issue. There are numerous shortcut techniques available to solve it out. What I used to follow is as below...

ungefär 3 år ago | 2

Question


How to add numeric values to cell array?
names = {'A' 'B' 'C' 'D' 'E'}; val = [0;1.5;0.5;0.5;1.5] I want my output as folows A 0 B 1.5 C 0.5 D 0.5 E 1.5

ungefär 3 år ago | 2 answers | 0

2

answers

Question


How to find CUSUM of a single state vector whose observation are comming at different time instant?
I have a vector of final size 1xN i.e X = [x1,x2,.....xn]. Elements of vector are coming each time instant one by one. How to ap...

mer än 3 år ago | 1 answer | 0

1

answer

Answered
How to create a 3D matrix using the 2D matrices
randi(10,137,137,72)

ungefär 4 år ago | 1

Answered
Simulink doubt -not have enough information to determine output sizes for this block
Assign these values at the starting of your function x = zeros(3,1); xcap = zeros(3,1); xdot = zeros(3,1);

mer än 4 år ago | 1

Answered
how to convert a matrix into one single column vector
Thanks

mer än 4 år ago | 1