Community Profile # Souarv De

### Indian Institute of Technology Ropar

Last seen: Today Active since 2019

Ph.D. Scholar

Programming Languages:
C
Spoken Languages:
English

#### Statistics

All
• • • • • • #### Content Feed

View by

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...

8 hours ago

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

2 days 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-...

3 months ago | 1 answer | 0

### 1

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...

3 months ago | 1 answer | 0

### 1

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

3 months ago | 0

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...

4 months ago | 1 answer | 0

### 1

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'} ...

4 months ago | 1 answer | 0

### 1

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...

5 months ago | 1 answer | 0

### 1

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,...

5 months ago | 1 answer | 0

### 1

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...

5 months ago | 1

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

5 months ago | 2 answers | 0

### 2

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...

10 months ago | 1 answer | 0