Question

Remove legend from patches in Matlab

I create hundreds of patches using patch() in my subplots. I have 5 subplots, 4 of which have legend entries. I create sever...

8 months ago | 1 answer | 0

Question

display string array content in textbox

I am using mlreportgen.ppt to create a powerpoint using matlab from a template powerpoint. I want to add slides with bulletpoi...

8 months ago | 0 answers | 0

Question

counting number of textbox or patches in a matlab figure

Is there a programmable method to count the number of patches or textboxes there are in a given figure, and then put the number ...

9 months ago | 1 answer | 0

Question

add rows between two indexes in an array

I have an array where the cell values ascend from 1 to 300. Some values occur more often than others. For values which come up...

9 months ago | 1 answer | 0

Question

converting cell values from standard form

I did some multiplication/division with cell values in an array. The output is entered into the array as standard form. array ...

9 months ago | 1 answer | 0

Answered

count number of indices

n=1; I=find(arrayA(:,2)==1); J=find(arrayA(:,2)==-1); for k=1:length(I) if J(k)-I(k)>100 arrayA(n,8)=pos_one(k)...

count number of indices

n=1; I=find(arrayA(:,2)==1); J=find(arrayA(:,2)==-1); for k=1:length(I) if J(k)-I(k)>100 arrayA(n,8)=pos_one(k)...

9 months ago | 0

| accepted

Question

count number of indices

I have an array with 7 columns filled with data. Column 2 has 0s then a 1 then 0s and then a -1 in repeating order. The number o...

9 months ago | 2 answers | 0

Question

Count number of indexes for each consecutive values in column of array

I have an array of a variable of dimension: 23999 x 1 The array consists of 1s and 0s. I want to count how many indexes each...

9 months ago | 1 answer | 0

Question

Drawing a rectangle over existing plot

I have a subplot in Matlab with two plots. (first picture) I want to draw boxes as seen in the second picture, for specific xval...

10 months ago | 1 answer | 0

Question

Export_fig conversion help

I have 4 matlab scripts, each saving a figure at the end as a png file in a folder. I have a different script which I want to ...

10 months ago | 1 answer | 0

Question

Font styles for pptx report title/subtitle

I want to change the font color of my title on the first title slide of a report powerpoint... I tried it with FontColor but got...

10 months ago | 0 answers | 0

Question

For Loop using values from x axis

My x axis has values ranging from -400 to 400 i want to create a for loop which tests whether each xvalue is bigger or smaller ...

11 months ago | 1 answer | 0