**Statistics**

**MATLAB Answers**

**26** Questions

**0** Answers

RANK**36,296**

of 275,844

REPUTATION**1**

CONTRIBUTIONS

**26** Questions

**0** Answers

ANSWER ACCEPTANCE **
0.0%
**

VOTES RECEIVED**1**

RANK

of 18,575

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 125,633

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Use two bsxfun for row and column vector to span matrix without putting in memory

Hello, I have a vector A of size 1xN and a vector B of size MxN I can span a MxN matrix temp with temp=bsxfun(@times,A,B);. ...

5 years ago | 1 answer | 0

### 1

answerQuestion

Efficiently calculate distance between moving point and fixed points

Hello, I have a grid of point coordinates xval=0:1:5000; yval=0:1:2000; zval=1; [X,Y,Z]=meshgrid(xval,yval,zv...

5 years ago | 1 answer | 0

### 1

answerQuestion

Better interpolation of nonuniform data to uniform grid than with spline

I am resampling non-uniformly sampled data to a uniform grid with a spline interpolation. However, if the signal is of high fre...

5 years ago | 0 answers | 0

### 0

answersQuestion

Speed up 1D spline interpolation on matrix

Hello, I have a NxM matrix named data and I need to spline interpolate each row of my matrix according to: for k=1:size(...

5 years ago | 1 answer | 0

### 1

answerQuestion

ned2ecef without toolbox

Are there any user-made functions available somewhere that achieve the same? The lg2ct function in the Geodetic Toolbox on the ...

5 years ago | 0 answers | 0

### 0

answersQuestion

Multiply each column in MxN matrix with it's transpose to create MxMxN matrix

Hello, I have a MxN matrix, and I need to multiply each column vector that is of size Mx1 with it's transpose. This gives me...

5 years ago | 2 answers | 0

### 2

answersQuestion

Interpolate uniform to non-uniform sampling, artifacts with spline

Hi, I have to resample uniformly sampled data to a non-uniform sampling. I use the spline function for this, and if the sample...

6 years ago | 0 answers | 0

### 0

answersQuestion

Merge multiple GPS and IMU to get more accurate position and attitude

I have multiple GPS and IMU that are located at known positions of an aircraft. Is there a ready to use implementation to merge...

6 years ago | 0 answers | 0

### 0

answersQuestion

Best way to smooth GPS data

Hi, I have a GPS signal sampled at 1Hz. It is too noisy, so I want to smooth the signal. I tried using a moving average, but i...

6 years ago | 3 answers | 0

### 3

answersQuestion

reshape, remove 16 elements, keep 1000*8, remove ..

Can I solve this without a loop?/What is the fastest way? I have a long vector consisting of [16Elements 1000*8Elements 16Eleme...

6 years ago | 1 answer | 0

### 1

answerQuestion

Calculate only fraction of spectrum with FFT

I have a signal with 4096 samples. I can calculate the frequency spectrum of this signal with fft. But I am only interested in...

6 years ago | 1 answer | 0

### 1

answerQuestion

Speed up this fread loop

I need your help! I am going to read a lot of big files with fread. Any ideas on how to speed this up? Also if there is a way ...

6 years ago | 2 answers | 0

### 2

answersQuestion

Matrix indexing: fast way to compute covariance of N different MxL matrices that are saved in NxMxL matrix

I have a NxMxL matrix called bigmatrix That I can split into N temporary submatrices. On each temporary submatrix I need to ca...

6 years ago | 1 answer | 0

### 1

answerQuestion

IFFT calculate only one timesample

I have a frequency signal and I apply an IFFT to it. This results in the time domain x(n) which has N samples. But I am really...

6 years ago | 1 answer | 0

### 1

answerQuestion

Combine multiplication filter in time and frequency domain

Hello, I perform a FFT on my signal x, which yields X. Then I perform a multiplication in the frequency with my filter W, whic...

6 years ago | 1 answer | 0

### 1

answerQuestion

bsxfun to multiply matrix with vector multiple times in for loop --> how faster?

I have a 2D matrix of size NxN, and each row I am multiplying with a 1xN vector with bsxfun in a for loop like this: for k=...

6 years ago | 2 answers | 0

### 2

answersQuestion

How to vectorize loop with linspace for performance

Besides prelocation my matrix A, how can I save time here? for k=1:1:10000 A(k,:)=firstValue(k):fixedStep:lastValue(k); ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Fast Look-up table

Good morning, I have a long array signal with values x. Now for each of those values x I want to find the closest fit in anoth...

8 years ago | 1 answer | 0

### 1

answerQuestion

Highly interpolate complex spectrum

Good afternoon, I have a complex spectrum of a signal that is centered around a center frequency with a certain bandwidth. I...

8 years ago | 0 answers | 0

### 0

answersQuestion

Highly oversample FFT2 in one direction for peak detection

Hello, I have a 2D image and the resulting FFT2 has high peak. Now I can find the maximum to get the resulting peak shift in e...

8 years ago | 0 answers | 0

### 0

answersQuestion

Translate position uncertainty of two objects to uncertainty of distance between them

Hello, I have a plane and in this plane there are two objects. The real location of each object is somewhere in the circle o...

8 years ago | 0 answers | 0

### 0

answersQuestion

Probability of two adjacent cells being below gaussian percentile

Hello, I have a matrix, whose data is described by a gaussian curve. Now I have a probability of 8%, that the data falls below...

8 years ago | 1 answer | 0

### 1

answerQuestion

Precision when dividing two functions going against zero

Hi, I have two functions A=sinc(c1*x)-cos(c2*x) whichs is Zero for x=0. Now I want to calculate A/(c3*x). The expected result...

8 years ago | 2 answers | 0

### 2

answersQuestion

Image from Gradient and Magnitude

Hello, with imgradient I can compute the magnitude and direction of an image's gradient. Is it also possible to somehow comput...

8 years ago | 1 answer | 0

### 1

answerQuestion

Height difference between earth models

Hello, is it possible to calculate the height difference between earth models at specific points of lat and long? For example ...

8 years ago | 0 answers | 0

### 0

answersQuestion

rectangularPulse: no drop to 1/2 at edges

Hello I want to do the fourier of a rectangular pulse which is also 1 at the edges, so that the fourier returns a sinc function...

8 years ago | 2 answers | 1