Community Profile

photo

Pierre Benoit


Actif depuis 2014

Statistiques

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Content Feed

Afficher par

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

plus de 9 ans il y a | 0

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

plus de 9 ans il y a | 0

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

plus de 9 ans il y a | 0

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

plus de 9 ans il y a | 0

| A accepté

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

plus de 9 ans il y a | 0

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

plus de 9 ans il y a | 0

| A accepté

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

plus de 9 ans il y a | 0

| A accepté

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

plus de 9 ans il y a | 1

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

plus de 9 ans il y a | 1

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

plus de 9 ans il y a | 0

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

plus de 9 ans il y a | 0

| A accepté