已回答
How would you filter this data?
Your 'noise' seems systematic in the sense that it is appears to always be approximately the same amplitude and is not random. I...

12 years 前 | 0

已回答
derivation using command diff
velocity = diff(x); acceleration = diff(velocity); You can verify it yourself with an example such as x=cos(t), v=sin(...

12 years 前 | 0

已回答
plot kalman smoother output vectors with confidence interval!!!!
upper = theta*1.05; lower = theta*0.95; plot(t,lower,t,theta,t,upper);

12 years 前 | 0

已回答
problem with jet colormap
Have you tried, imagesc(......,'Parent',handles.axes14)

12 years 前 | 0

已回答
Searching a Matrix for Specific Values
For matrix A thisrow = A(row,:); result1 = (any(thisrow,1) && any(thisrow,2) && any(thisrow,3) && any(thisrow,4) && any(...

12 years 前 | 0

已回答
how load a different sessions files from the same subject
One way to do this is to filter the directory of files by some user input. A GUI would be a nice user friendly way, but if you d...

12 years 前 | 0

已回答
angle and radius of a curve
It would help if you gave some definitions, but I'll do that, hopefully correctly interpreting your question. Define the cur...

12 years 前 | 0

| 已接受

已回答
change filename from different folder
The first filename in a directory is the "." file which is just specifying the path to this directory... not really a file at al...

12 years 前 | 0

已回答
i want to store the result of 191 iterations in one variable and then i want to find the slope of those values.
gradient(y) will give you the slope at every point of the variable y.

12 years 前 | 0

已回答
evaluate a cubic polynomial in an interval
If you mean you want to evaluate v1 at x values between the kth and (k+1)th values of x, then define x as the interval of intere...

12 years 前 | 0

已回答
Easy way to clean up a plot?
Here are two ideas that should work. 1. Try a standard moving average with lead and lag data points. 2. Take small sample se...

12 years 前 | 0

提问


Specifying colors for a plot of a multidimensional array
I have a multidimensional array that I want to plot, but want to use a different color scheme than the default. I've tried ...

12 years 前 | 1 个回答 | 0

1

个回答

已回答
how to see previous results while tabulating?
Change where you put your print statements to see running total. fprintf('\n\n%18s%18s%18s\n','it_no','x','f(x)'); while...

12 years 前 | 0

| 已接受

已回答
How can I show how much time is left for a script to complete?
One thing you can do is determine where the bulk of the computation time resides. Hopefully this is in a loop. You could then t...

12 years 前 | 0

已回答
Timing a train on a loop
toc measures the elapsed time since tic was executed. You probably want something like if a.analogRead(approach) > 300 &...

12 years 前 | 0

已回答
FFT of a signal
A non-zero mean will give you a large value at 0Hz in the frequency domain. If you zoom in at 20Hz, you will still see your sign...

12 years 前 | 0

已回答
Converting decimal to binary, help!!
See <http://kipirvine.com/asm/workbook/floating_tut.htm> for a good tutorial.

12 years 前 | 0

已回答
Problem when assigning vectors
the value of k must be positive and less than the size of f.

12 years 前 | 1

已回答
index exceeds matrix dimension
First of all, it's probably not a good idea to use reserved words for variable names, such as max and min. These are standard f...

12 years 前 | 0

已回答
Calling a function from within a GUI (GUIDE)
The functions in your program created by guide can be called like any other function. You just have to input the arguments it ne...

12 years 前 | 1

已回答
how to find a local minima for a continuous waveform ?
min(min(X))

12 years 前 | 0

已回答
figure text cut off when saved
Is it cutoff because the title is too long? If so, make your figure larger so that the title fits. Or change to a smaller font.

12 years 前 | 0

已回答
how can I read a text file line by line containing titles of the research papers?
The format of the file is important. The following code assumes each line is a title. fileid = fopen(filename); ind = 0...

12 years 前 | 0

提问


Mesh plot in GUI works, but in separate figure won't plot
I have a GUI with axes defined with a Tag 'axes1' When I plot mesh(handles.axes1,x,y,z) where x and y are column vec...

12 years 前 | 2 个回答 | 0

2

个回答

已回答
Return the final x for different t
Matlab defaults to rows. So when creating a vector on the fly like you have, specify both row and column. These lines should ...

12 years 前 | 0

| 已接受

已回答
Binning elements between limits
histc gives you the number of elements in the bins. Below code should give variance of the elements in the bins: % X i...

12 years 前 | 0

已回答
function created for transform grayscale to binary doesn't work
If you're interested, this should be faster code if your image is very large or you're doing many of them. function BW = co...

12 years 前 | 0

已回答
how to store data in a matrix
Try this: m=1; for i=1:72; for j=2:5; p1 = i+j; n=[j+1:6]; p2 = i + n; for k=1:leng...

12 years 前 | 0

| 已接受

已回答
How do I put all values from for loop into one vector
Y = 0:.1:1.8; n = length(Y); u = zeros(n,1); for k=1:n; u(k)=umax/M*log(1+(exp(M)-1)*(y(k)/D)*exp(1-y(k)/D)) ...

12 years 前 | 3

| 已接受

已回答
Read certain range of csv file
Try file = csvread('file.csv', 251, 0, [251 0 5351 5351+n]); where n is the number of columns you want to read

12 years 前 | 0

加载更多