# Lokesh Ravindranathan

### MathWorks

Professional Interests: Signal Processing, Programming, Code Generation

**Statistics**

RANK**1,128**

of 257,598

REPUTATION**46**

CONTRIBUTIONS

**0** Questions

**21** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**9**

RANK

of 17,747

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

matlab 2010 xlswrite error

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

8 years ago | 0

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

9 years ago | 0

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

9 years ago | 0

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

9 years ago | 0

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

9 years ago | 0

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

9 years ago | 0

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

9 years ago | 0

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

9 years ago | 0

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

9 years ago | 1

| accepted

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

9 years ago | 2

| accepted

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

9 years ago | 0

How do you initialize an 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...

9 years ago | 2

Solved

Roll the Dice!

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

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

9 years ago

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

9 years ago | 0

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

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

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

9 years ago

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

9 years ago | 0

| accepted

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

9 years ago | 1

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

9 years ago | 2

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

9 years ago | 0

| accepted

Cannot generate MEX function

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

9 years ago | 0

| accepted

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

9 years ago | 1

| accepted

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.

9 years ago | 0

| accepted