Question

Camera measurements after calibration

Hi all, I have calibrated a camera successively using the calibrator app and a checkerboard pattern. I plan to use the camera...

8 years ago | 1 answer | 0

Answered

how can calculate power spectral density from data (999*1)

If you have signal processing toolbox you can use the function, pwelch. Look in the documentation for it

how can calculate power spectral density from data (999*1)

If you have signal processing toolbox you can use the function, pwelch. Look in the documentation for it

8 years ago | 0

| accepted

Answered

Problem in data interpolation over different grids

Try repmat like this: obscon = repmat(obscon,128,1);

Problem in data interpolation over different grids

Try repmat like this: obscon = repmat(obscon,128,1);

8 years ago | 0

Answered

Problem in data interpolation over different grids

Hi Look in the documentation for interp2. I think you need to use the meshgrid function on your vectors to form matrices used...

Problem in data interpolation over different grids

Hi Look in the documentation for interp2. I think you need to use the meshgrid function on your vectors to form matrices used...

8 years ago | 1

Answered

FFT of tidal data - problems identifying Mf component in MATLAB

Hi, Have you tried to plot the power spectral density instead? If you provide the sampling frequency you can get better insig...

FFT of tidal data - problems identifying Mf component in MATLAB

Hi, Have you tried to plot the power spectral density instead? If you provide the sampling frequency you can get better insig...

8 years ago | 0

Answered

How to declare a function having bounds ?

function f=fcn(x) if x<0 y = 0; else if x>=0 && x<1 y = x; else if x>1 y = -1; end I...

How to declare a function having bounds ?

function f=fcn(x) if x<0 y = 0; else if x>=0 && x<1 y = x; else if x>1 y = -1; end I...

8 years ago | 0

Answered

Kalman filter and bounding box tracking

Hi, Do you have computer vision toolbox? There is vision.KalmanFilter method there you can use.

Kalman filter and bounding box tracking

Hi, Do you have computer vision toolbox? There is vision.KalmanFilter method there you can use.

8 years ago | 0

| accepted

Answered

How common is MATLAB in academia?

Within my field (Energy technology and Multiphase flow) I saw authors of scientific papers refering to matlab code provided whic...

How common is MATLAB in academia?

Within my field (Energy technology and Multiphase flow) I saw authors of scientific papers refering to matlab code provided whic...

8 years ago | 0

Answered

How common is MATLAB in academia?

Hi, From you name I guess you are Swedish?! I can tell you that at Chalmers Matlab is more or less standard.

How common is MATLAB in academia?

Hi, From you name I guess you are Swedish?! I can tell you that at Chalmers Matlab is more or less standard.

8 years ago | 0

Answered

Error using loadlibraryin mex file

Is the lib file "libcublas" in your path? Have you told the complier (mex) where to find the file? Usually you need to suppl...

Error using loadlibraryin mex file

Is the lib file "libcublas" in your path? Have you told the complier (mex) where to find the file? Usually you need to suppl...

8 years ago | 0

| accepted

Answered

Matrix must be a positive definite (geometry problem)

Hi, If you are sure the problem is set up correctely you can solve with the general solver: Z = A\B; Chol can only be u...

Matrix must be a positive definite (geometry problem)

Hi, If you are sure the problem is set up correctely you can solve with the general solver: Z = A\B; Chol can only be u...

8 years ago | 1

| accepted

Answered

How to draw centroid that include the value inside bounding box?

Hi Use the vision.BlobAnalysis method. It returns both bounding box and centroid.

How to draw centroid that include the value inside bounding box?

Hi Use the vision.BlobAnalysis method. It returns both bounding box and centroid.

8 years ago | 0

Answered

GPU amount of availible shared memory is less that it is seemed to be

Hi, I tried your code with A=magic(5000); It works on my Gpu. I am using a Nvidia Geforce GT 640M, with 2 GB memory. What f...

GPU amount of availible shared memory is less that it is seemed to be

Hi, I tried your code with A=magic(5000); It works on my Gpu. I am using a Nvidia Geforce GT 640M, with 2 GB memory. What f...

8 years ago | 0

Answered

error I did not understand it?

The function scatterd is not a standard matlab function, do you mean scatter(d)? Is it a function you made? Is it in the correct...

error I did not understand it?

The function scatterd is not a standard matlab function, do you mean scatter(d)? Is it a function you made? Is it in the correct...

8 years ago | 0

| accepted

Answered

My equation gives only one value for 1x200 vector variables

Hi You forgot the . symbol when doing elementwise operations. Try this instead: R_p = ((n_t*cos(theta_i)-cos(theta_t))./(c...

My equation gives only one value for 1x200 vector variables

Hi You forgot the . symbol when doing elementwise operations. Try this instead: R_p = ((n_t*cos(theta_i)-cos(theta_t))./(c...

8 years ago | 0

| accepted

Answered

Why does filtfilt provide me wrong results?

Why do you write dfCoeff = double(LPsig); Everything is double precision already. Call the filter function like Filter...

Why does filtfilt provide me wrong results?

Why do you write dfCoeff = double(LPsig); Everything is double precision already. Call the filter function like Filter...

8 years ago | 0

Answered

Help understanding the error on 2-d ballistic trajector

Yes, write i=1; in between loops

Help understanding the error on 2-d ballistic trajector

Yes, write i=1; in between loops

8 years ago | 0

| accepted

Answered

error I did not understand it?

You have a space between the name and the argumment, scatterd (p); write scatterd(p);

error I did not understand it?

You have a space between the name and the argumment, scatterd (p); write scatterd(p);

8 years ago | 0

Answered

Help understanding the error on 2-d ballistic trajector

Hi You need to reset your counter i in between the loops. When the fist while loop finish (y2>=0 condition is met) the value of...

Help understanding the error on 2-d ballistic trajector

Hi You need to reset your counter i in between the loops. When the fist while loop finish (y2>=0 condition is met) the value of...

8 years ago | 0

Answered

Need with help with error on Newton's Method function

Hi, You cannot pass a symbolic variable to your functions in that way. Since you have you function and its derivative you can...

Need with help with error on Newton's Method function

Hi, You cannot pass a symbolic variable to your functions in that way. Since you have you function and its derivative you can...

8 years ago | 0

Answered

Making a movie from images

Hi, Reading the error message there is an error when you are using the function im2frame, which is called on line 13. What...

Making a movie from images

Hi, Reading the error message there is an error when you are using the function im2frame, which is called on line 13. What...

8 years ago | 0

Answered

Rename images using counter

You can use num2str() to convert the loop index to a string. With strcat() you can combine 2 strings such as A and loopindex ...

Rename images using counter

You can use num2str() to convert the loop index to a string. With strcat() you can combine 2 strings such as A and loopindex ...

8 years ago | 0

Answered

Which video cards suitable for testing CUDA functionality

Hi, Check this: http://se.mathworks.com/discovery/matlab-gpu.html Check Nvidia cards specs. for their compute capabilit...

Which video cards suitable for testing CUDA functionality

Hi, Check this: http://se.mathworks.com/discovery/matlab-gpu.html Check Nvidia cards specs. for their compute capabilit...

8 years ago | 0

Answered

Subscript indices must either be real positive integers or logicals.

Check the values of pixel_location(1) and pixel_location(2). I guess you find either the value 0 or a decimal value. Indexes hav...

Subscript indices must either be real positive integers or logicals.

Check the values of pixel_location(1) and pixel_location(2). I guess you find either the value 0 or a decimal value. Indexes hav...

8 years ago | 0

Question

Can I convert a system of equations with a Toeplitz matrix to a system with a circulant matrix?

Reading the following post it seems that it is possible to zero pad a Toeplitz matrix to a circulant. http://scicomp.stackexc...

8 years ago | 1 answer | 1

Answered

advice on Image acquisition & near real time processing

Hi Yale, Do you have Image Acquisition toolbox? There is a function (Matlab) called: imaq.VideoDevice Look in the documenta...

advice on Image acquisition & near real time processing

Hi Yale, Do you have Image Acquisition toolbox? There is a function (Matlab) called: imaq.VideoDevice Look in the documenta...

8 years ago | 1

Answered

How can i acess to created objects out of the class

Don't you have to pass the "Milch" variable to the function PriceProducts? I don't see how the function gets this value otherwis...

How can i acess to created objects out of the class

Don't you have to pass the "Milch" variable to the function PriceProducts? I don't see how the function gets this value otherwis...

8 years ago | 1

Answered

what is mean by image gradient? what is mean by gradient filter ?

I agree with Mr Simon, look online. But to summarize image gradients are commonly used to detect edges in images. Look on wikipe...

what is mean by image gradient? what is mean by gradient filter ?

I agree with Mr Simon, look online. But to summarize image gradients are commonly used to detect edges in images. Look on wikipe...

8 years ago | 0

Answered

advice on Image acquisition & near real time processing

Hi, Maybe you can get some ideas from this example: http://se.mathworks.com/help/imaq/examples/barcode-recognition-using-l...

advice on Image acquisition & near real time processing

Hi, Maybe you can get some ideas from this example: http://se.mathworks.com/help/imaq/examples/barcode-recognition-using-l...

8 years ago | 1

Answered

Detection of Pressure Points Over a MATRIX.

Hi again! This function is much simpler to use http://www.mathworks.com/matlabcentral/fileexchange/25500-peakfinder/conten...

Detection of Pressure Points Over a MATRIX.

Hi again! This function is much simpler to use http://www.mathworks.com/matlabcentral/fileexchange/25500-peakfinder/conten...

8 years ago | 0