photo

etudiant_is


2015년부터 활동

Followers: 0   Following: 0

메시지

통계

MATLAB Answers

15 질문
3 답변

순위
13,616
of 300,779

평판
3

참여
15 질문
3 답변

답변 채택
93.33%

획득한 표
2

순위
 of 21,084

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 170,997

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


How to pass input parameter in a function handle
I don't know what it is really called so maybe the title of my question can be misleading. Anyway, I am using simulated anneali...

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

2

답변

질문


What to use for customized minimization of the sum of a function
Assuming I have a set of employees (ex: 5) to assign to a set of offices (ex: 3).(This is not my real problem but I simplified...

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

1

답변

질문


how to change for loop
I have A=[1 ;2; 2; 3; 1] and B=[4; 1; 5; 2 ;3] then I want to have C=zeros(size(B),1); for ...

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

2

답변

질문


vectorizing 3 nested loops
Assuming I have the following matrices/vectors A=[1 3 0 2 0 0 4 5 6]; B=[111 222 333];...

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

1

답변

질문


Compute average in different columns of cell arrays without considering 0 values
I have a cell array of 30 arrays. Each cell in it is a matrix of thousands rows and let's say several columns. With a simple...

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

1

답변

질문


How to add value at end of row in a matrix
It is a very basic question but I could not figure how to do it without a for loop. I have two vectors R and C of same length...

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

3

답변

질문


How to replace two nested for with vectorization
How can I write this without loops [nrows, ncols] = size(A); for i = 1:nrows for j = 1:ncols if A(i,...

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

1

답변

질문


How to assign several values at once to a field in structure
I have a matrix P1 P1= [2 42 25 6 37 57 3 55 16] and a structure A (containing 6 elements) with s...

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

1

답변

답변 있음
Assign a set of values in a matrix depending on the index of it
What worked for me is Dall(P2(:,1),:)= D

거의 10년 전 | 0

| 수락됨

질문


Assign a set of values in a matrix depending on the index of it
I have two matrices from which I compute the distances between Points in P1 and P2. In P1, I have only X and Y coordinates. ...

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

2

답변

질문


How to compute distance efficiently with no loops
I have matrices for points (not the same number of rows for P1 and P2) like this P1=[12 45 34 7 ] and P2= ...

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

1

답변

질문


average of field in a structure with an if condition
So I have a structure S with two fields field1 and field2 What i want to do is If field1 is equal to a value x , I sum (then g...

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

1

답변

답변 있음
Changing point coordinates in a file to closest ones in another file
I did it like this [rows1, ~] = size(M1); [rows2 , ~] = size(M2); for i=1:rows1 for j=1:rows2 Dist (i,j) = a...

거의 10년 전 | 0

질문


Changing point coordinates in a file to closest ones in another file
I have a file M1 containing a matrix from this form, for example 1 10 45 2 32 56 3 12 50 4 28 67 The second and...

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

2

답변

답변 있음
assign the content of a structure to another
Turns out that there was a letter in capital in one of the fields which I mistakenly wrote as lower case and it was the source o...

거의 10년 전 | 1

| 수락됨

질문


assign the content of a structure to another
I have two structures A and B having the *same fields* but *not the same sizes*. The size of A can be bigger or smaller than B d...

거의 10년 전 | 답변 수: 2 | 1

2

답변

질문


simulated annealing with constraints or shifting to genetic algorithm
So i have a problem to solve similar to the job machine scheduling problem. So far, i used simulated annealing (from global opt...

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

1

답변

질문


How to concatenate two structures of different size?
Hi to all I have something like this function res=newRessource (size) for k=1: size res.a(k).v1= val1; ...

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

2

답변