photo

Pierre Benoit


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How do I solve the following problem with rounding?
You can use a tolerance : find(abs(x-0.9) < tol)

10 years ago | 0

Answered
Combining two arrays by pointwise repeating the elements of A(i), B(i) times.
You can use this function from the FEX : http://www.mathworks.com/matlabcentral/fileexchange/6436-rude-a-pedestrian-run-length-d...

10 years ago | 0

Answered
Please help me with this simple problem? Confusing
There is a round-off error in the last column and the last row after the Gauss-Jordan algorithm is used for the first two column...

10 years ago | 0

Answered
Why are the solutions zeros for a linear equations ?
The _null_ function in Matlab achieve what you desire (for b=0) but I suppose this is homework related to better understand thes...

10 years ago | 0

| accepted

Answered
Can MATLAB read 'R' data files (*.Rda) directly?
Apparently no, see <http://www.mathworks.fr/fr/help/matlab/import_export/supported-file-formats.html Supported File Formats for ...

10 years ago | 0

Answered
What is wrong in this code
You're not using the proper Matlab syntax for defining function, i.e. you don't need curly braces to define function. Just remov...

10 years ago | 0

| accepted

Answered
How to find the position of the maximum values in an image?
[max_value max_idx] = max(A); The position is in the second argument, _max_idx_ doc max Edit : Also, regarding your...

10 years ago | 0

| accepted

Answered
Appending a column to a matrix in a for loop.
First, about your function, there is a problem with the output because Matlab is case sensitive. Replace h with H. Then for y...

10 years ago | 1

Answered
Combine arrays to form another arrays
M = 5; N = 5; k = 5; H = randn(M, N, k) + j*randn(M, N, k); permut = nchoosek(1:k,k-1); % Find all permutations...

10 years ago | 1

Answered
Eliminating a FOR loop
[~,idx] = ismember(B,A); [I,J] = ind2sub(size(A),idx);

10 years ago | 0

Answered
For loop, two variables, and summation
If you look closely to what K(i,j-i) do, you will see it returns a sub-matrice that contains more that you really want. You only...

10 years ago | 0

| accepted