Community Profile

Lokesh Ravindranathan

MathWorks

Active since 2013

Professional Interests: Signal Processing, Programming, Code Generation

Statistics

All
  • First Review
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
matlab 2010 xlswrite error
This question has been answered here: http://www.mathworks.com/matlabcentral/answers/3840

más de 8 años 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...

casi 9 años 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...

casi 9 años 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...

casi 9 años 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...

casi 9 años 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...

casi 9 años 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

casi 9 años 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, ...

casi 9 años 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 ...

casi 9 años 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...

casi 9 años 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; ...

casi 9 años ago | 0

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

casi 9 años ago | 2

Solved


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

casi 9 años 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 = ...

casi 9 años 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 ...

casi 9 años 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...

casi 9 años 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...

casi 9 años ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

casi 9 años 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:...

casi 9 años 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...

casi 9 años 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:/...

casi 9 años 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...

casi 9 años ago | 2

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

casi 9 años ago | 0

| accepted

Answered
Cannot generate MEX function
I think the same issue has been discussed here: http://www.mathworks.com/matlabcentral/answers/2926

casi 9 años 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...

casi 9 años 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.

alrededor de 9 años ago | 0

| accepted