Answered
Composite PSD on multiple sets of data?
are you talking about something like a 'peak hold' function? If so you can compile your individual PSD's into a 3D matrix & tak...

14 years ago | 0

Answered
Sound output/aquisition stops without an error (handles problem?)
i don't know if this is applicable to your situation or not http://www.mathworks.com/matlabcentral/answers/17186-sound-functi...

14 years ago | 0

Answered
Rotating a rectangle about a point other than the origin
you have to do a composite rotation, consisting of: * translate your rotation point to the origin * perform rotation * reve...

14 years ago | 0

Answered
Help on code optimization
you might start by pre-allocating the new size of B before the for loop: B = [B,zeros(319955,1)]; for i = 1:length(B) i...

14 years ago | 0

Answered
how to improve the resolution of generated eps file
http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig would be the easiest way

14 years ago | 0

| accepted

Answered
bootstrp with replacement
I do not see the behavior you are describing: x= (rand(10,1)<.5); [a,b]=bootstrp(10,@mean,x); x(b(:,1)); x(b(:,2)); t...

14 years ago | 0

Answered
Sum of a list of numbers if they're a certain value or not
Or even (without using sum) x.'*(x<55) *[edit]* for x being a matrix x = randi(100,20,20); sx = x(:).'*(x(:)<55);

14 years ago | 0

| accepted

Answered
Sum of a list of numbers if they're a certain value or not
x=randi(100,20,1); sx = sum(x(x<=55))

14 years ago | 0

Answered
Removing Gravity from Accelorameter data
you can remove the mean from the raw data. for example: acc_x = rawAccX - mean(rawAccX);

14 years ago | 0

Answered
Just a simple math problem
you define Availability (capital A), but then use availability (small a)

14 years ago | 0

| accepted

Answered
RGB to lαβ
http://blogs.mathworks.com/steve/2010/12/30/a-and-b/

14 years ago | 0

Answered
Curve Fitting Discrepancies--Exponential versus Log-Transformed
Have you seen this? http://www.mathworks.com/products/statistics/demos.html?file=/products/demos/shipping/stats/xform2lineard...

14 years ago | 0

| accepted

Answered
modified newton's method
one way is to use anonymous functions: f = @(x) x^3-3*x^2+4; fprime = @(x) 3*x^2-6*x; then use a for loop to perform th...

14 years ago | 0

Answered
remove the NaN numbers from a matrix without loop
A_mod = A(~isnan(A)); %untested

14 years ago | 0

Answered
MarkerSize unit in plot command
it is in points. 1 point = 1/72 inch

14 years ago | 0

| accepted

Answered
division
is n an integer? cast(n,'uint8')/m ans = 0 n/m ans = 0.0048

14 years ago | 0

Answered
generating a weibull channel on Matlab
hw = lamda.*(-log(rand(nRx(jj),N)).^(1/beta)) where lamda & beta are your Weibull parameters. BTW you can generate your...

14 years ago | 2

| accepted

Answered
mutiplying vector of different size?
is this what you want? a = 1 2 3 4 b = Columns 1 through 14 1 2 ...

14 years ago | 0

Answered
help with dynamic variable names set with 'for' incrementer
eval can be evil! avoid if possible. read this for alternatives: http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables...

14 years ago | 0

Answered
Error plotting inverse laplace in time domain
perhaps try plot(0:10,subs(a,0:10));

14 years ago | 0

Answered
Correction of detected qrs
wikipedia gives several formulas for correction http://en.wikipedia.org/wiki/QT_interval

14 years ago | 0

Answered
Determine Expression
the multiplication of sqrt(12) should occur *outside* the loop. Also do not include S in the summation: for n = 0:m s(n+1)...

14 years ago | 0

| accepted

Answered
orthogonal between two (almost) parallel lines
perhaps this will help http://blogs.mathworks.com/loren/2011/08/29/intersecting-lines/

14 years ago | 0

Answered
Help with Matlab homework question
you are going to need 2 loops: x = zeros(10) for r = 1:10 for c = 1:10 x(r,c) = % for you to f...

14 years ago | 1

| accepted

Answered
How to shift the pwelch plot
pwelch calculates a one sided spectrum by default, therefore, no shifting is required. You can use the option 'twosided' to get...

14 years ago | 0

Answered
High School Student doing experiment for Intel STS Science Fair on "Classifying Human Emotion Through Pre-Recorded Voice"
the student version of Matlab contains the statistics toolbox & signal processing toolbox, that would be a start. You have ou...

14 years ago | 0

Answered
pcolor or setting the colors in a colour map
myColorMap = flipud(jet);

14 years ago | 0

| accepted

Answered
Filtering contaminants out of a sound clip
maybe this will help or provide direction http://blogs.mathworks.com/loren/2010/06/30/vuvuzela-denoising-with-parametric-equa...

14 years ago | 0

Answered
plot
use interp1 to resample your time vector to match the data vector

14 years ago | 0

Load more