Community Profile

Professional Interests: Signal Processing, Programming, Code Generation

Contact

Top 5% contributor

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

accepted

2

Answered 1 year ago

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

1

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

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

0

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

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

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

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

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

Answered 2 years ago

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

Solve this!

1 year ago

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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