Community Profile

Erik S.

Chalmers University of Technology

Active since 2012

Content Feed

View by

Question

Call Strumpack from Matlab
Is it possible to call Strumpack routines for solving low rank structured linear systems? <https://github.com/pghysels/STRUM...

4 years ago | 0 answers | 0

0

Question

Convert Composite to array?
Is it possible to convert a Composite object created with spmd to an array?

7 years ago | 1 answer | 0

1

Question

How to convert optical flow velocity to meters per second?
Hi, I have a calibrated camera and can convert positions from pixels to meters using the transformPointsInverse function. I a...

8 years ago | 1 answer | 1

1

How to write an optimization algorithm?? any type of optimization algorithm?? can anyone tell me with the help of a matlab program?
Ok, I send the file again.... but I think there is an error in your function. It is not 30 anywhere... If you find my help usefu...

8 years ago | 1

| accepted

Recommendations on NVIDIA cards for CUDA GPU computing
I agree with the previous answer, it depends on you application of course, but in general Nvidia Geforce cards offers alot of pe...

8 years ago | 0

How can I change camera setting while acquiring video?
I found a solution to the problem for my Fire-i camera. vid = videoinput('fireiimaq',1,'1024X768 Y_MONO 30 FPS'); src = gets...

8 years ago | 0

| accepted

Extracting matrix diagonal with diag(A)
Do you have another matrix in your workspace called diag?

8 years ago | 0

Hi again, I'm not sure I understand your problem. But I send a new file, is it the result you need?

8 years ago | 0

how solve nonlinear equations ?
Look in the documentation for the function lsqnonlin It can solve nonlinear least squares problems.

8 years ago | 0

| accepted

I send a file, try it.

8 years ago | 0

Hi You do the integration in the loop with only 1 value at the time, so the integral should be 0. You should pass vectors to ...

8 years ago | 0

if variable is a matrix then ignore
use the numel function to detect the number of elements in a variable. elements = numel(variable) if elements > 1 you h...

8 years ago | 1

| accepted

logical indexing in one line when choosing from a column
you can use the find function instead

8 years ago | 0

How can I remove NaN values from a matrix?
You can you something like this ind = ~isnan(Columns); Columns=Columns(ind);

8 years ago | 4

"Undefined function 'equationsToMatrix' for input arguments of type 'sym'." Error
The code works for me. Do you have symbolic toolbox installed?

8 years ago | 0

"Subscripted assignment dimension mismatch"?
Those lines 38-43 are never executed. The files you are looking for is in another folder than you .m file. Try to move them to t...

8 years ago | 0

"Subscripted assignment dimension mismatch"?
Your sturcture data only contains the fields "dyad" and "episode" not "MOM" or "BABY" When you get to line 67 the program cra...

8 years ago | 0

How to write an optimization algorithm?? any type of optimization algorithm?? can anyone tell me with the help of a matlab program?
I started with a code to help you. But I don't know how you mean with n(3), If you want to find a single value for n, you cannot...

8 years ago | 1

Matlab with ASUS XTION PRO LIVE
Does it help to install the software packages for usb webcams and OS generic video interface?

8 years ago | 0

where can i find the code of an existing matlab function like "entropy"(for image processing)?
type edit entropy in the command prompy to open a file

8 years ago | 1

| accepted

The plot of this discontinous values does not work.
I send you a file, is it the result you need?

8 years ago | 0

| accepted

In an assignment A(I) = B, the number of elements in B and I must be the same.
I attach a file, is it the result you need?

8 years ago | 0

| accepted

The plot of this discontinous values does not work.
There are a couple of issues. First you get complex numbers ( at least I get it when I run your code) so somehow you take the sq...

8 years ago | 0

In an assignment A(I) = B, the number of elements in B and I must be the same.
Hi Your loop condition is not correct I think. It will only run 1 time. At which iteration should it start and finish?

8 years ago | 0

how would my didplay look if a valuse is betwwen 5 and 10
what do you mean? if x >=5 && x<=10

8 years ago | 0

The plot of this discontinous values does not work.
Your y2 and y2_neg variables are not vectors, only scalars You can make a loop and compute the y2 and y2_neg for each value of ...

8 years ago | 0

In an assignment A(I) = B, the number of elements in B and I must be the same.
Hi Your x in the loop is a vector write y(i)=x(i)

8 years ago | 0

Question

How can I change camera setting while acquiring video?
I would like to change my camera's shutter speed while acquiring video using Image Acquisition toolbox. To be specific I wou...

8 years ago | 1 answer | 0