# Pierre Benoit

Active since 2014

Followers: 0   Following: 0

#### Feeds

View by

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

bijna 10 jaar ago | 0

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

bijna 10 jaar ago | 0

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

bijna 10 jaar ago | 0

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

bijna 10 jaar ago | 0

| accepted

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

bijna 10 jaar ago | 0

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

bijna 10 jaar ago | 0

| accepted

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

bijna 10 jaar ago | 0

| accepted

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

bijna 10 jaar ago | 1

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

bijna 10 jaar ago | 1