Community Profile

# Lokesh Ravindranathan

### MathWorks

Actif depuis 2013

Professional Interests: Signal Processing, Programming, Code Generation

All

#### Content Feed

Afficher par

A répondu
matlab 2010 xlswrite error

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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

plus de 10 ans il y a | 0

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

plus de 10 ans il y a | 0

A répondu
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 ...

plus de 10 ans il y a | 1

| A accepté

A répondu
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...

plus de 10 ans il y a | 2

| A accepté

A répondu
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; ...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 2

A résolu

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

plus de 10 ans il y a

A résolu

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

plus de 10 ans il y a

A répondu
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 ...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A résolu

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

plus de 10 ans il y a

A résolu

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

plus de 10 ans il y a

A résolu

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

plus de 10 ans il y a

A répondu
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...

plus de 10 ans il y a | 0

| A accepté

A répondu
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:/...

plus de 10 ans il y a | 1

A répondu
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...

plus de 10 ans il y a | 2

A répondu
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 ...

plus de 10 ans il y a | 0

| A accepté

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

plus de 10 ans il y a | 0

| A accepté

A répondu
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...

plus de 10 ans il y a | 1

| A accepté

A répondu
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.

presque 11 ans il y a | 0

| A accepté