photo

Hajem Daham


2017년부터 활동

Followers: 0   Following: 0

통계

All
MATLAB Answers

13 질문
0 답변

Cody

0 문제
11 답안

순위
40,878
of 300,364

평판
1

참여
13 질문
0 답변

답변 채택
76.92%

획득한 표
1

순위
 of 20,934

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위
36,799
of 168,407

참여
0 문제
11 답안

점수
120

배지 수
1

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 3
  • Solver

배지 보기

Feeds

보기 기준

질문


How to apply a condition on array?
a = [1 2 3 4 5] x(a) = [15 20 45 25 30] b = [6 7 8 9 10] x(b) = [20 25 30 15 15] t=40 the below array ab is a random per...

거의 7년 전 | 답변 수: 0 | 0

0

답변

질문


How to split array vector into sub vectors based on the max value of the original array?
I have this row vector which can contains fractional or discrete integer values: a = [ 120.9, 50.5, 20.3, 80.7, 12 , 70, 100, 1...

거의 7년 전 | 답변 수: 2 | 0

2

답변

질문


How to split a row vector into sub vectors with different sizes?
Let h = [1 2 3 4 5 6 7 8 9 10 11] n1= 3, n2= 3 , n3 = 2, n4= 2 how can I create sub vectors(m1,m2,m3,m4) based on the length...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


How to ensure that values between ones is less than or equal to specific number?
I have these row vectors: T = 1:11 C = T(1) a = T(2:6) b = T(7:11) Da = [10 12 8 10 7]; % these vaules are corresponding to...

거의 7년 전 | 답변 수: 0 | 0

0

답변

질문


How to create a random permutation from two sets of numbers in one vector?
Assume that I have two vectors: a = 1 2 3 4 5 b= 6 7 8 9 10 how can I generate a vector of random permutation of combin...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


How to generate a vector of two separate intervals without overlapping?
Assume that we have two vectors: a = 1 2 3 4 5 b= 6 7 8 9 10 how can I generate a vector of random permutation of combi...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Can you please help to plot this figure in matlab?
<</matlabcentral/answers/uploaded_files/121306/hajem55.jpg>>

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

1

답변

질문


How to calculate distance between array elements?
Hi, Let say I have this array: A = [1 3 5 1 4 1 2 6 1] the distances between elements are: 1-3-5-1: 1 to 3 = 2 3...

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

1

답변

질문


How to generate integer random numbers of specific range including all numbers between the range?
Hello, I have this code which does not work as I want: n = 1; m = 5:10; for p= 1:n Top(p,:) = randperm(m) end ...

7년 초과 전 | 답변 수: 3 | 0

3

답변

문제를 풀었습니다


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

7년 초과 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

7년 초과 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

질문


How to remove zeros from end of different sizes of rows of matrix?
Hi, Let say a result of array of different sizes of rwos: array = 1 2 3 0 0 ...

거의 8년 전 | 답변 수: 3 | 0

3

답변

문제를 풀었습니다


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

질문


How to find elements between zeros in matrix?
Hello, I have this matrix 3x3: A = [3,4,6,0,2,7,10,5,0,1,0,8,9,0; 0,5,2,0,1,8,9,0,4,6,10,7,0,3; 1,0,7,2,0,4...

거의 8년 전 | 답변 수: 3 | 0

3

답변

질문


Move and swap elements between vectors using loops and functions?
lets say there are four vectors each has different dimension as follow: A=[5 7 11 15 17], B=[4 14 19 21], C=[2 6 9 10 13 18], D...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to insert zeros in matrix randomly?
I have this matrix: A = [2, 1, 4, 6, 2; 9, 4, 6, 1, 2; 5, 3, ...

거의 8년 전 | 답변 수: 1 | 1

1

답변