Professional Interests: Signal Processing, Programming, Code Generation

Answered

matlab 2010 xlswrite error

This question has been answered here: http://www.mathworks.com/matlabcentral/answers/3840

matlab 2010 xlswrite error

This question has been answered here: http://www.mathworks.com/matlabcentral/answers/3840

3 years ago | 0

Answered

Creating and Using Java Objects

The error in your code is not due to the version of JDK, but how, you add use the function JAVAADDPATH. The solution is availabl...

Creating and Using Java Objects

The error in your code is not due to the version of JDK, but how, you add use the function JAVAADDPATH. The solution is availabl...

3 years ago | 0

Answered

Error with Blkproc.m

This solution <http://www.mathworks.com/support/solutions/en/data/1-FA7L9M/?solution=1-FA7L9M> explains the reason for the error...

Error with Blkproc.m

This solution <http://www.mathworks.com/support/solutions/en/data/1-FA7L9M/?solution=1-FA7L9M> explains the reason for the error...

3 years ago | 0

Answered

In order to use my compiled mex function windows SDK 7.1 is required... Does anyone know why?

Note, you are use a mex file <http://en.wikipedia.org/wiki/MEX_file>. MEX file have dependencies. This could be one reason why w...

In order to use my compiled mex function windows SDK 7.1 is required... Does anyone know why?

Note, you are use a mex file <http://en.wikipedia.org/wiki/MEX_file>. MEX file have dependencies. This could be one reason why w...

3 years ago | 0

Answered

how to convert a grayscale image to binary sequence

For converting image into binary sequence, use the function im2bw <http://www.mathworks.com/help/images/ref/im2bw.html> Fo...

how to convert a grayscale image to binary sequence

For converting image into binary sequence, use the function im2bw <http://www.mathworks.com/help/images/ref/im2bw.html> Fo...

3 years ago | 0

Answered

How can I read data from a buffer at certain intervals (ie. every 20 ms)?

I would recommend following the approach showing the help page: <http://www.mathworks.com/help/matlab/matlab_external/timerperio...

How can I read data from a buffer at certain intervals (ie. every 20 ms)?

I would recommend following the approach showing the help page: <http://www.mathworks.com/help/matlab/matlab_external/timerperio...

3 years ago | 0

Answered

efficient way of transforming vector

b is the resultant vector b = []; j = 1; for i = 1:numel(a) b(j: j + a(i) - 1) = i; j = j+ a(i); end

efficient way of transforming vector

b is the resultant vector b = []; j = 1; for i = 1:numel(a) b(j: j + a(i) - 1) = i; j = j+ a(i); end

3 years ago | 0

Answered

How can I download Psychtoolbox?!

I think you should check if SVN has been installed correctly. Did you install SVN as a root user? Try installing as a root, ...

How can I download Psychtoolbox?!

I think you should check if SVN has been installed correctly. Did you install SVN as a root user? Try installing as a root, ...

3 years ago | 0

Answered

How can I get a GUI connecting to MATLAB via a button

Maybe a good place to start would be to use dexplore (http://www.mathworks.com/help/database/ug/dexplore.html). This is the GUI ...

How can I get a GUI connecting to MATLAB via a button

Maybe a good place to start would be to use dexplore (http://www.mathworks.com/help/database/ug/dexplore.html). This is the GUI ...

3 years ago | 1

| accepted

Answered

Method set don't work

Your code is working correctly. The reason why the set method appears like not working is because the get method is dependent on...

Method set don't work

Your code is working correctly. The reason why the set method appears like not working is because the get method is dependent on...

3 years ago | 2

| accepted

Answered

Is there a way to get MATLAB to filter out specific rows in arrays?

The following code does filtering for your problem. a = [10000.5 3 120; 10001.0 5 112; 10001.5 1 117; ...

Is there a way to get MATLAB to filter out specific rows in arrays?

The following code does filtering for your problem. a = [10000.5 3 120; 10001.0 5 112; 10001.5 1 117; ...

3 years ago | 0

Answered

How do you create an empty N*M matrix

I am assuming you are trying to create an empty matrix of zeros of dimensions N*M. You can try the following instead M = z...

How do you create an empty N*M matrix

I am assuming you are trying to create an empty matrix of zeros of dimensions N*M. You can try the following instead M = z...

3 years ago | 0

Solved

Roll the Dice!

*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

3 years ago

Solved

Swap the input arguments

Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

3 years ago

Answered

Why Magic Square[ magic(n) ] gives results diifferent on different situation?

If you look at the documentation for magic function http://www.mathworks.com/help/matlab/ref/magic.html. There is an algorithms ...

Why Magic Square[ magic(n) ] gives results diifferent on different situation?

If you look at the documentation for magic function http://www.mathworks.com/help/matlab/ref/magic.html. There is an algorithms ...

3 years ago | 0

Answered

How do I make MATLAB list the various sequences possible for a specific purpose?

I think there could be couple of issues in the code. I could not execute your code completely, since I do not have access to you...

How do I make MATLAB list the various sequences possible for a specific purpose?

I think there could be couple of issues in the code. I could not execute your code completely, since I do not have access to you...

3 years ago | 0

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...

3 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:...

3 years ago

Answered

Do I need to create a GPIB object before connecting to a function generator?

Could you be more specific about the object g. How did you create it? Its possible that the address is incorrect. Also, make...

Do I need to create a GPIB object before connecting to a function generator?

Could you be more specific about the object g. How did you create it? Its possible that the address is incorrect. Also, make...

3 years ago | 0

| accepted

Answered

How to make a 4D graph

Technically, you cannot visualize 4d plot in MATLAB. That being said, you can 3d slices in matlab using the slice command http:/...

How to make a 4D graph

Technically, you cannot visualize 4d plot in MATLAB. That being said, you can 3d slices in matlab using the slice command http:/...

3 years ago | 1

Answered

How test the presence of a toolbox

This solution http://www.mathworks.com/support/solutions/en/data/1-G5BY2M/index.html?product=SL&solution=1-G5BY2M is relevant fo...

How test the presence of a toolbox

This solution http://www.mathworks.com/support/solutions/en/data/1-G5BY2M/index.html?product=SL&solution=1-G5BY2M is relevant fo...

3 years ago | 1

Answered

Problem writing Summation code

L = 1:10; % Assuming L d = linspace(2,3,10); % Assuming d n = sum(l .* (log10(d))) / (10 * sum((log10(d)).^2)) This ...

Problem writing Summation code

L = 1:10; % Assuming L d = linspace(2,3,10); % Assuming d n = sum(l .* (log10(d))) / (10 * sum((log10(d)).^2)) This ...

3 years ago | 0

| accepted

Answered

Cannot generate MEX function

I think the same issue has been discussed here: http://www.mathworks.com/matlabcentral/answers/2926

Cannot generate MEX function

I think the same issue has been discussed here: http://www.mathworks.com/matlabcentral/answers/2926

3 years ago | 0

| accepted

Answered

Convert MATLAB program to C++

Hi Yudong, We currently do not support code generation for the image processing functions such as imread, edge, strel, etc an...

Convert MATLAB program to C++

Hi Yudong, We currently do not support code generation for the image processing functions such as imread, edge, strel, etc an...

3 years ago | 1

| accepted

Answered

When I run my program I outputs a weird error message.

It s a warning message with an escape sequence which is not ISO standard. I think your file contains these escape sequences.

When I run my program I outputs a weird error message.

It s a warning message with an escape sequence which is not ISO standard. I think your file contains these escape sequences.

3 years ago | 0

| accepted