Question

Using engine, How to set variable inside to MATLAB function?

Hi all, I am building c++ algorithm based on matlab algorithm, and I want to compare the results. I am using matlab engine to ...

1 year ago | 0 answers | 0

Question

uimenu mouse-over behavior .

Hi all, I have a uimenu with a lot sub-menu. When I am moving the mouse over on each menu the sub-menu pop up. And if my hand...

4 years ago | 0 answers | 0

Question

how to wait for mouse press without figure or gui?

Hi all, I need to capture a small rectangle region of screen that defined by the user. I need a way to get from the user t...

5 years ago | 0 answers | 0

Question

Rmove known chip form signal.

Hi all, I have a time series y, with known chirp xc and I want to remove the chirp, How can I remove the chirp? This is w...

6 years ago | 0 answers | 0

Answered

Is it possible to start to run a Matlab program with a user defined function?

Hi JOSHY, I think you need to create startup.m and put it in My Documents\MATLAB At startup, MATLAB contains the statem...

Is it possible to start to run a Matlab program with a user defined function?

Hi JOSHY, I think you need to create startup.m and put it in My Documents\MATLAB At startup, MATLAB contains the statem...

6 years ago | 0

| accepted

Question

Is it me ? or something else ...

Hi all It seems that most of the questions can be solved easily by Googeling them. It seems that there is a lot of questio...

6 years ago | 5 answers | 3

Answered

Inverse matrix in fortran mexFunction - matlab lapack library

Hi don't know anything with fortran. 1) From my experience, every time I used LAPACK I checked info. 2) What is the type o...

Inverse matrix in fortran mexFunction - matlab lapack library

Hi don't know anything with fortran. 1) From my experience, every time I used LAPACK I checked info. 2) What is the type o...

6 years ago | 0

Question

MVDR fail with two identical target.

Hi all I have a problem with MVDR estimator in case of two identical target. I follow matlab example described at <http:/...

7 years ago | 1 answer | 0

Answered

FFT based adaptive MVDR beamforming

Hi zozo, You allready posted a question <http://www.mathworks.com/matlabcentral/answers/39458-covariance-matrix-stimation-...

FFT based adaptive MVDR beamforming

Hi zozo, You allready posted a question <http://www.mathworks.com/matlabcentral/answers/39458-covariance-matrix-stimation-...

7 years ago | 0

Answered

Creating C code from matlab with changing data input size.

I found the solution. 1) On the MATLAB Coder project Overview tab, select the input parameter that you want to define. 2)C...

Creating C code from matlab with changing data input size.

I found the solution. 1) On the MATLAB Coder project Overview tab, select the input parameter that you want to define. 2)C...

7 years ago | 0

Question

Creating C code from matlab with changing data input size.

Hi all I wrote a simple program. function y = test(x) %#codegen y = x+2; end Now I want to create c code and I ...

7 years ago | 2 answers | 0

Question

Compare inv(X) Vs mex inv (X)

Hi all I wrote a simple program which calculates inverse matrix size (100*100). function y = test_inv(x) %#codegen ...

7 years ago | 1 answer | 0

Answered

ecg signal in different frequency bands

Hi Siddartha 1) I think you have HRV (R to R peak) signal, and not ECG signal ? Am I missing something ?

ecg signal in different frequency bands

Hi Siddartha 1) I think you have HRV (R to R peak) signal, and not ECG signal ? Am I missing something ?

7 years ago | 0

| accepted

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago

Question

Send variable from c to matlab

Hi all, I have a c program that set variable into matlab, using matlab Engine. ep = engOpen(NULL); ... engPutVaria...

8 years ago | 1 answer | 0

Answered

Dimension error in matrix manipulation

Hi Amandeep, This is the problem sd(i,j) = Rmatrix(looktime2(i,j),1:t2(i,j+1)); Subscripted assignment dimension mism...

Dimension error in matrix manipulation

Hi Amandeep, This is the problem sd(i,j) = Rmatrix(looktime2(i,j),1:t2(i,j+1)); Subscripted assignment dimension mism...

8 years ago | 0

Question

Convert C struct to matlab struct

Hi all I have two applications the first is written in c language and the other in matlab language, they are both communicate...

8 years ago | 1 answer | 0

Question

Convert C struct to matlab struct

Hi all I have two applications the first is written in c language and the other in matlab language, they are both communicate...

8 years ago | 1 answer | 0

Answered

Why does FFT show harmonics at different amplitude?

Hi When you are using t = linspace(0,N/fs ,N); your fs is not as you assumed it's 1/(t(2)-t(1)) just change the lines ...

Why does FFT show harmonics at different amplitude?

Hi When you are using t = linspace(0,N/fs ,N); your fs is not as you assumed it's 1/(t(2)-t(1)) just change the lines ...

8 years ago | 0

Answered

I'm trying to convert a system from c2d and then from d2c but the results are not the same. Why? There is no delay!

Hi sadel I execute your code and I got : Transfer function: s^2 ------- s^3 + 1 Transfer function: ...

I'm trying to convert a system from c2d and then from d2c but the results are not the same. Why? There is no delay!

Hi sadel I execute your code and I got : Transfer function: s^2 ------- s^3 + 1 Transfer function: ...

8 years ago | 1

| accepted

Question

How to load data form specific memory address of the computer

Hi all, I want to load data form specific memory address of the computer, with c/c++ it's simple ,just setting the pointer...

8 years ago | 2 answers | 0

Question

The relation between fft(x,8)/8 and fft(x,4)/4

Dear all matlab users, I wrote this code l = 128; t = 0:l-1; fs = 32; f = 32/128 * 17; % f=4.25 Hz x = sin(2*pi*f/...

9 years ago | 3 answers | 0

Question

Creating solid 3d object

Dear all matlab users, I want to generate solid 3d object n = 100; a=1; % r const teta = linspace(0,pi/2,n);teta =t...

9 years ago | 1 answer | 0

Question

Best File Exchange ever !!!

Dear all Matlab users, When I am bored I am going to file exchange section and sort it by rating and learn new staff about Ma...

9 years ago | 15 answers | 8

Answered

How to plot this signal?

Hi Negar l = 1000;% length of the signal x = zeros(l,1); Noise = 0.9*randn(l,1); % sorry I meant the first element o...

How to plot this signal?

Hi Negar l = 1000;% length of the signal x = zeros(l,1); Noise = 0.9*randn(l,1); % sorry I meant the first element o...

9 years ago | 0

Answered

How to plot this signal?

Hi Negar l = 1000;% length of the signal x = zeros(l,1); Noise = 0.9*randn(l,1); % not using first element % not using ...

How to plot this signal?

Hi Negar l = 1000;% length of the signal x = zeros(l,1); Noise = 0.9*randn(l,1); % not using first element % not using ...

9 years ago | 0

| accepted