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

1

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

Problem in data interpolation over different grids
Try repmat like this: obscon = repmat(obscon,128,1);

8 years ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

Help understanding the error on 2-d ballistic trajector
Yes, write i=1; in between loops

8 years ago | 0

| accepted

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

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

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

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

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

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

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

1

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

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

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