photo

Adrien Leygue


CNRS / Ecole centrale Nantes

Last seen: 9일 전 2011년부터 활동

Followers: 0   Following: 0

메시지

Professional Interests: Complex Fluids, Material Science, Numerical Methods, Model Reduction

통계학

All
  • MATLAB Flipbook Mini Hack Participant
  • Thankful Level 2
  • MATLAB Mini Hack Participant
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 4
  • First Submission
  • Knowledgeable Level 1
  • First Answer
  • Solver

배지 보기

Feeds

보기 기준

질문


Tensor creation like "pageTensorprod"?
I have two 3x3xN tensors (let's call them A and B) which I would like to combine into a 3x3x3x3xN tensor. More specifically I w...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


writestruct does not reproduce the input of readstruct
I find it disturbing that applying writestruct on a structure created with readstruct does not reproduce the original input: see...

1년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The *values of B are in the s...

7년 초과 전

문제를 풀었습니다


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

7년 초과 전

문제를 풀었습니다


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

7년 초과 전

문제를 풀었습니다


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

7년 초과 전

문제를 풀었습니다


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

7년 초과 전

문제를 풀었습니다


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

7년 초과 전

문제를 풀었습니다


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples : n=2, A=[1 2 3] -> [1 1 2 2 3 3] n=0...

7년 초과 전

문제를 풀었습니다


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

7년 초과 전

문제를 풀었습니다


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

7년 초과 전

제출됨


Plane fit
Fits a plane to a set of data points by minimizing the normal quadratic distance

9년 초과 전 | 다운로드 수: 15 |

Thumbnail

문제를 풀었습니다


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

12년 초과 전

문제를 풀었습니다


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

12년 초과 전

문제를 풀었습니다


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

12년 초과 전

문제를 풀었습니다


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

12년 초과 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

12년 초과 전

문제를 풀었습니다


Distance walked 2D
Suppose you go from x-y coordinates [3,4] to [0,0] to [0,1] to [1,1], then you walked 7 units of distance.

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

12년 초과 전

문제를 풀었습니다


Geometric series
Find the sum, given the first term t1, the common ratio r, and number of terms n. Examples If input t1=1, r=1, n=7 the...

12년 초과 전

문제를 풀었습니다


Nearest
*Description* Find the value and index of the element in vector _x_ that is nearest to value _y_. _y_ should be able to be a ...

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

답변 있음
Is it possible to solve FEM by Neural Network?
This kind of problem is typically the case where one would use model reduction techniques. I would refer you to methods such as ...

대략 13년 전 | 2

답변 있음
Condition
Try this: A = rand(1,10); B = A(A<0.5); C = zeros(size(A)); mask = A<0.5; C(mask) = A(mask); I think this could provide so...

대략 13년 전 | 0

답변 있음
Are iterative methods always better than direct methods for solving large linear systems?
From my personal experience, there is only one case where I have been able to outperform mldivide through the use of one of the ...

대략 13년 전 | 1

| 수락됨

답변 있음
ODE45
First the step in ode45 has little meaning since the method is adaptive and will choose the appropriate time step based on a pre...

대략 13년 전 | 1

답변 있음
Find max of matrix without using built in function.
The following code will extract the minimum over each column. No loop no max no min and of course not optimal. Feel free to adap...

대략 13년 전 | 0

더 보기