Community Profile

photo

Devanuj Deka


Last seen: 4 meses ago Active since 2021

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

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

5 meses ago | 0

| accepted

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

5 meses ago | 0

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

5 meses ago | 1

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

5 meses ago | 0

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

5 meses ago | 0

| accepted

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

5 meses ago | 0

| accepted

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

5 meses ago | 1

| accepted

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

5 meses ago | 1

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

5 meses ago | 0

| accepted

Answered
Simuling Create Subsystem from selection causes inports and outports to lay on the side
Dear Christian, When you hover over the inport block using your cursor, the corners of the block will become visible. You can s...

5 meses ago | 0

| accepted

Answered
How to plot multiple graphs in one figure ?
It is my understanding that you want to plot two graphs in one figure. You tried hold on but it didn't work. It is not clear wh...

5 meses ago | 0