已回答
Defining the 95% of data which are around the mean value
Thank you for your answer Image Analyst. The data contain also negative values. I am not sure but I think that poses a problem ...

12 years 前 | 0

提问


Defining the 95% of data which are around the mean value
For a given set of data, how can I define which of those correspond to the 95% of the data which are around the mean value? ...

12 years 前 | 3 个回答 | 0

3

个回答

提问


Find the goodness fitting and find the best fit
I have plotted the histogram of some data. The plot of the data can be seen in this <https://www.dropbox.com/s/1lwm4jjmdu3e7vz/d...

12 years 前 | 1 个回答 | 0

1

个回答

提问


Count the "areas" of zeros and the "areas" of ones in a vector?
I have a vector: a=[0 1 1 1 1 1 1 0 0 1 1 1 1 1 0 0 1 1 1 0 1 ]; in which I would like to count the "areas" of zeros and...

12 years 前 | 3 个回答 | 0

3

个回答

已回答
Create a callback that waits for the brush to include some data and then display them
After trying a lot I and taking into account a gui that I had done in the past I managed to do more or less what I wanted. H...

12 years 前 | 1

| 已接受

已回答
Create a callback that waits for the brush to include some data and then display them
I would kindly ask you to help me on this matter cause I need to gather data from the plot and remove them. I have made certain...

12 years 前 | 0

提问


Create a callback that waits for the brush to include some data and then display them
I have the following simple example: x=-4:0.1:4; y= x.^2-1; f=figure; h=plot( x, y ); bO = brush(gcf); set(b...

12 years 前 | 3 个回答 | 0

3

个回答

提问


Create a structure name based on the string of a variable. Create fieldnames in this structure.
Inside a function I have a variable called name which is a char class. I want to generate a structure based on the string of var...

12 years 前 | 6 个回答 | 4

6

个回答

已回答
Mean a matrix columnwise based on another logical matrix
Thank you guys!

12 years 前 | 0

提问


Mean a matrix columnwise based on another logical matrix
I want to mean the matrix a based on the logical matrix b columnwise: In other words this: mean(a(b(:,1))) mean(a(b(:,2...

12 years 前 | 5 个回答 | 1

5

个回答

提问


Preallocating the size of a matrix which concatenates horizontally matrices in a for loop
How can I preallocate matrix t: t=[]; for i=1:3; a=randi(10,3,2); t=[a t]; end

12 years 前 | 1 个回答 | 0

1

个回答

提问


Make true all the false rows of a column of a matrix which are in between the first true and the last true row
The first true element of column 1 of matrix a is at row 2. The last true element of column 1 of matrix a is at row 9. I want to...

12 years 前 | 1 个回答 | 0

1

个回答

已回答
Circshift the columns of an array with different shiftsize withou using for loop
Where is Anrei's answer??? It was here before 2 minutes ago. Is an answer deleted after accepting a previous one? I had ...

12 years 前 | 0

提问


Circshift the columns of an array with different shiftsize withou using for loop
As the tittle suggests I am wondering if it is possible to circshift the columns of an array with a different shiftsize in each ...

12 years 前 | 3 个回答 | 0

3

个回答

已回答
Logical Indexing with zero and one. Getting only the change from 0 to 1 and from 1 to 0.
The correct should be like this. After playing around a bit I found this. %% Example a=0:0.01:0.12; b=0.13:-0.01:0.03...

12 years 前 | 0

提问


Logical Indexing with zero and one. Getting only the change from 0 to 1 and from 1 to 0.
Is there any way to from matrix A to matrix B without using find? A= B= 0 0 0 0 0 ...

12 years 前 | 2 个回答 | 0

2

个回答

已回答
Reshape a cell avoiding the loop
I am sorry I should be more explanatory. Let's say that I want to split in sets of 2 and concatenate them. so it would be: ...

12 years 前 | 0

提问


Reshape a cell avoiding the loop
I have the cell for example: a = '0.0' '0.0' '0.1' '-0.4' '0.1' '0.8' '0.2' ...

12 years 前 | 3 个回答 | 0

3

个回答

提问


Textscan with repeated header lines. Remove the repeated header lines.
I want to extract the values of csv file. The csv files contains repeated headers. Example: \n Scan Parameters \n ...

12 years 前 | 1 个回答 | 0

1

个回答

提问


Function does not assigin the variable to the workspace
I have created a script that calls a function and the last one assigns in the workspace a variable and this works perfectly. ...

12 years 前 | 2 个回答 | 0

2

个回答

提问


Plotyy with bars stacked
I am trying to do a matlab plot with two y axes. I want both to plots to be of type 'bars'. I can't work out how to make them st...

12 years 前 | 0 个回答 | 0

0

个回答

提问


I can 't get to work the normalized units when I want to make annotation for my plot with the setting axis equal tight
For example: x=-10:1:10; y=50-x.^2; plot(x,y) axis equal tight XA=-sqrt(60); XB=sqrt(60); YA=-10; ...

12 years 前 | 1 个回答 | 1

1

个回答

提问


Subtract from a matrix the elements of a vector column-wise avoiding for loop
Please excuse me if the title is a bit arbitrary. I have a matrix and a vector: A=randi(10,3); D=randi(10,1,3); Is t...

12 years 前 | 1 个回答 | 0

1

个回答

已回答
Can set the lower limit of the axis manually but leaving to auto the upper limit
I did finally this. If I want for example my lower limit to be 2: limsy=get(gca,'YLim'); set(gca,'Ylim',[2 limsy(2)];

12 years 前 | 2

提问


Can set the lower limit of the axis manually but leaving to auto the upper limit
I want to control only the lower limit of the axis and not the upper. I want the upper to be automatic. Is there any way to do i...

12 years 前 | 3 个回答 | 0

3

个回答

已回答
Switch/case in cell array of strings
Thank you. I wasn't using it properly. I thought that it evaluated the whole cell array strings.

12 years 前 | 0

提问


Switch/case in cell array of strings
I have cell array of stings which I call it choice. The variable choice can take the following values: choice={'Yes','Yes'}...

12 years 前 | 3 个回答 | 0

3

个回答

提问


Prevent script from execution until a condition is met. please!
I have designed a simple gui. This gui has a question and a Yes and a No answer. I want my script to pause when I call the gui...

12 years 前 | 2 个回答 | 0

2

个回答

已回答
Switch case with cell gives an error
I am using the debugger and my code fails at switch. And sorry I didn't mention it. It is a cell array of strings. I correct...

12 years 前 | 0

已回答
Cannot get to work a callback function in a simple uicontrol!!!!
Thank you Walter for the answer! It was very nice your suggestion

12 years 前 | 0

加载更多