Community Profile

Devanuj Deka

Last seen: 2 months ago Active since 2021

Content Feed

View by

Stacked bar chart similar to Excel
@AHMED FAKHRI, You can give this a try. The resultant output figure is shown below the code. T = readtable('Data.xlsx'); t2 = ...

2 months ago | 0

| accepted

Stacked bar chart similar to Excel
Yes, you can. MATLAB's bar function has an optional style parameter that you can use to display stacked bar chart. Here is the d...

2 months ago | 0

how to save plot handle in an array and delete the plot later?
I would suggest creating a cell array for handle_array. The function zeros(10,1) creates a 10x1 array of type 'double', which me...

2 months ago | 1

How to obtain a cross correlation function for a signal
You can refer to xcorr(x,y) and xcorr2(a,b) for 1-D and 2-D cross-correlation functions respectively, and see if you can work wi...

2 months ago | 0

Access data from a cell array
@Rajvi Amle, you can try this: load x % Load the data Sum = cell(1,10); % Initialize a 1x10 cell array which will store t...

2 months ago | 0

| accepted

How to count alternating ones and zeros in a matrix
% Get the dimensions of 'v' sz = size(v); % Gives two numbers. sz(1) is the number of rows; sz(2) is the number of columns ...

2 months ago | 0

| accepted

I need help on a logical vector
You can try this: ismembertol(d,0.4) | ismembertol(d,0.6) Documentation: Members of set within tolerance - MATLAB ismembertol ...

2 months ago | 1

| accepted

How to split a line in Simulink?
Right-click and hold the line you want to split, and drag it to extend the newly created branch. See the following video demonst...

3 months ago | 1

How to know which block connected with outport block in a subsystem?
Hello, You can have a look at a similar question that has been answered by MathWorks Support Team here: Link For your specific...

3 months ago | 0

| accepted