photo

Grace


2014년부터 활동

Followers: 0   Following: 0

메시지

통계

MATLAB Answers

27 질문
0 답변

순위
190,466
of 300,302

평판
0

참여
27 질문
0 답변

답변 채택
70.37%

획득한 표
0

순위
 of 20,911

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 168,040

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • First Review
  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


How to eliminate array which contain zero, negative values, repeated values, etc constraint?
Hi, I have n=6 and for example I have several set of points ( with 6 elements), a=[1 5 1 6 2 6]; b=[2 5 1 6 2 5]; c=[3 5...

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

1

답변

질문


How to get a set of numbers with the first and the last absolute difference are the same and etc.
Hi I have n=5, and I will get a set of points for example a=[ 3 1 4 2 5]; which the elements are from 1 to 5 without rep...

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

3

답변

질문


How to find first ten prime numbers that are greater than 4?
Hi, How am I going to make an array that consists of first 10 prime numbers that are greater than 4 as follows? a=[5 7 11...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


How to eliminate the elements in an array from another array?
Hi I have two arrays: a=[ 1 2 3 5 6 7 8 9 100]; b=[1 2 3]; I want to eliminate the elements in b from a and gives me:...

대략 11년 전 | 답변 수: 2 | 0

2

답변

질문


How to find prime numbers?
Hi, primes(25) gives me the prime numbers that are less or equal to 25. What if i want to find primes numbers that are ...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


How to get a geometric sequence?
Hi, I have tao=1000; v=0.9; T1=0.01; I want to have a geometric sequence T, where T1=T2=T3...=T1000 ( since tao=1000...

대략 11년 전 | 답변 수: 2 | 0

2

답변

질문


How to randomly exchange 2 entries in a column?
Hi, I have a=[ 1 2; 3 4; 2 1; 4 5; 5 3] I want to choose randomly any 2 entries from a colum...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


How to detect which rows are left in the matrix when the unique function is used to eliminate the repeated rows?
Hi, I have a= 1 1 1 2 1 2 1 2 1 1 1 2 b=unique(a,'rows'); >>b= ...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


How to obtain the absolute difference between elements in a row?
Hi I have a= 4 3 2 1 4 3 1 2 4 2 3 1 I want to know the absolute differe...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


How to detect repeated values between rows?
Hi I have a= 1 2 3 1 2 3 2 3 3 2 1 1 I want to detect whethe...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


How to eliminate the rows with replication?
Hi, I have a=[1 1 2], I want to know all the possible arrangements of a, then I do the permutation which gives me: >...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


How to minimize a complicated function?
Hi, I have a function function ces=mat(UT) U=UT; [n,s]=size(U); X=(2*U-1)/(2*n); cs1=zeros(n,1); for k=1:n CSP=1; ...

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

1

답변

질문


How to get all possible arrangements for n=10 and more
Hi, I wish to get all the possible arrangements for n=10 and more,I used permutation and the output shows me: >> perms(1:10)...

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

1

답변

질문


How to use for loop to get the minimum number in an array
For simplicity, I have A=[ 11 7 10 9 6 4 3] and B=8 I want to have a for loop to compare each of the elements in ...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Permute/Rearrange/Shuffle the elements of a matrix
Hi, I have A=[2 3 4 1 1 4 3 2 5 5]; I want have the all possible arrangements, w...

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

1

답변

질문


How to show output in multidimensional array?
I have an output shows me: udd = [4x2 double] [4x2 double] where udd{1}= 1 2 2 4 ...

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

1

답변

질문


how to substitute a row vector to a column of a matrix
Hi, I have a=[1 2 3 4; 5 6 7 8; 9 10 3 4] b=[4 5 7] I want to substitute b to my second column of a to be...

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

1

답변

질문


Index exceeds matrix dimensions, error problem
function cut=UDcutcut(n,s,p) initial=[ 1 3;2 6; 3 2; 4 5; 5 1; 6 4; 7 7]; [r s]=size(initial); new_initial=cell(s,1); UT...

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

3

답변

질문


How to combine 2 for loops
Hi, I have id = [ 1 3; 2 6; 3 2; 4 5; 5 1; 6 4; 7 7]; I will get two new_ids by sorting its column, for col=1:c ...

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

1

답변

질문


relabel the elements in each column according to the magnitude of these elements in an array
Hi, I have a=[4 5; 5 1; 6 4; 7 7] I want to relabel the elements in each column according to the magnit...

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

1

답변

질문


complicated for loop with 2 requirements or constraints
Hi,I have a=[1 2; 3 4; 5 6;7 8]; Suppose I want my result to have two sets of number, which set 1 is [1 2; 3 4; 5 6] and ...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


store result for loop for 2D array
Hi, I have a=[1 2; 3 4; 5 6]; for m=1:4 if m<=2 b=a([2 3],:) else c=a([1 2],:) ...

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

1

답변

질문


How to name each of the elements in an array?
Hi, I have id=[ 1 3 2; 2 6 4; 3 2 6; 4 5 1; 5 1 3; 6 4 5; 7 7 7]; I want to give a name to each of the elements in id, c_kj...

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

1

답변

질문


How to reorder the rows by sorting the elements of column in ascending order?
Hi everyone, I have id=[ 1 3 2; 2 6 4; 3 2 6; 4 5 1; 5 1 3; 6 4 5; 7 7 7] j=1:3 I want to reorder the rows of id by sor...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Multiplication of elements in array
Hi everyone, I have b=[1 1 1; 1 2 4; 1 3 9; 1 4 16] and k=1:5, I want to have 4 different set of numbers. There are total 4 r...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to show my output from matrix?
Hi everyone, i have c= 1 1 1; 2 4 8; 3 9 27; 4 16 64 I extracted each row by c(1,:), c(2,:), c(3,:) and c(4,:). I wa...

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

1

답변

질문


how to multiply each of the array with another set of array
Hi everyone, suppose i have a=1,2,3,4 and j=1,2,3 I want to get 1^1, 1^2, 1^3, 2^1, 2^2, 2^3, 3^1, 3^2, 3^3, 4^1, 4^2 and 4^3....

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

1

답변