Gifari Zulkarnaen - MATLAB Central
photo

Gifari Zulkarnaen


Korea University

Last seen: 3년 초과 전 2019년부터 활동

Followers: 0   Following: 0

메시지

통계

All
CodyMATLAB AnswersFile ExchangeFrom 12/19 to 03/25Use left and right arrows to move selectionFrom 12/19Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

7 질문
28 답변

File Exchange

6 파일

Cody

2 문제
104 답안

순위
1,275
of 297,547

평판
56

참여
7 질문
28 답변

답변 채택
57.14%

획득한 표
6

순위
4,822 of 20,454

평판
277

평균 평점
5.00

참여
6 파일

다운로드 수
27

ALL TIME 다운로드 수
2647

순위
1,785
of 159,122

참여
2 문제
104 답안

점수
1,491

배지 수
11

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Knowledgeable Level 3
  • 3 Month Streak
  • Cody5 Easy Master
  • Creator
  • 5-Star Galaxy Level 1
  • Personal Best Downloads Level 2
  • CUP Challenge Master
  • Speed Demon
  • Commenter
  • Promoter
  • Introduction to MATLAB Master
  • Revival Level 1

배지 보기

Feeds

보기 기준

질문


Is there a way to speed up the time for calling external program?
I am doing optimization problem. The objective function requires to call external program. But time for calling the program (0.1...

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

0

답변

답변 있음
Help !! How to use Genetic Algorithm for maximisation process as it is used for minimisation process?
Make the fitness function to be 1/f(x) where f(x) is your original maximization.

4년 초과 전 | 1

답변 있음
poisson regression using genetics algorithm
I dont really understand statistics and PR, but I think you can define the objective function as a function of PR variables whic...

4년 초과 전 | 1

답변 있음
Error when I run ODE45 function
You might see my example here to solve equation of motion using ODE: https://www.mathworks.com/matlabcentral/fileexchange/74348...

4년 초과 전 | 0

답변 있음
Is there a way to obtain the indices of the training, validation and test datasets in NN pattern recognition?
You can see those indices in the ouput data of train command. [net,tr] = train(net,x,t); % net is trained network, tr in traini...

4년 초과 전 | 0

| 수락됨

답변 있음
What did I do wrong here?
In your function RK4 line 8 to 11, you have two inputs for f function while the f function has only one input value, thus "too m...

4년 초과 전 | 0

답변 있음
how to use reshape ?
try this: B = reshape(A,339,[]); % A is the original matrix, B is the reshaped matrix

4년 초과 전 | 0

| 수락됨

답변 있음
Extract a row from a 2D matrix if any of its element matches with elements in other 1D matrix
Try this: idx = []; for i = 1:size(A,1) if any(ismember(A(i,:),B)) idx = [idx i]; end end C = A(idx,:);

4년 초과 전 | 0

답변 있음
How do I implement multi objective optimization using the default in-built 'particleswarm' function in Matlab ?
https://www.mathworks.com/matlabcentral/fileexchange/62074-multi-objective-particle-swarm-optimization-mopso All credits to the...

4년 초과 전 | 0

질문


Does Matlab has an adaptive Neural Network (architecture and functions)?
In standard learning, we usually do multiple attempts to find the most optimum ANN architecture (nodes and layers) and functions...

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

1

답변

답변 있음
How to solve mass spring damper over frequency (differential equation)?
Equation of motion is time-dependant equation. Perhaps what you mean is Response Spectrum (frequency-based response data)? This ...

거의 5년 전 | 0

답변 있음
Writing an Optimization Problem
I am not sure why yours doesnt work, but it works if the functions are written in array form like this: clear fun = @(x) (x(1)...

거의 5년 전 | 1

답변 있음
exitFlag meaning in GA solver
As I know, good solution is when it converges, the change of few last iteration does not improves (exit flag 1, 3). Or when so...

거의 5년 전 | 2

| 수락됨

답변 있음
Find indexs of minimum in 4-D matrix.
Maybe linear means the index ordered in from high dimension to one dimension. For example, for 2D matrix with 2 rows and 3 colum...

거의 5년 전 | 0

답변 있음
gaplotpareto not supported for this algorithm
Have you tried this advice? https://www.mathworks.com/matlabcentral/answers/63086-gaplotpareto-for-3-objective-functions

거의 5년 전 | 0

| 수락됨

질문


Add new line in middle of line of a text file
I have a bug in my text file. There should be new line at this blue line: I have tried to code to fix this: subdir = 'TCLFil...

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

1

답변

답변 있음
How to fix timestep in this code?
You can check your equation part by part to check whether your code or calculation is correct. For example, for n=2: Ve*dm = 22...

거의 5년 전 | 0

답변 있음
How do I solve an eigenvector for the amplitude matrix 'A' mode
Are you trying to make eigendecomposition of mass & stiffness matrix? Try this: [U,Omega2] = eig(inv(M)*K); % Eigen decomp...

거의 5년 전 | 0

답변 있음
Finding Angle between 2 points
Is this what you mean? P1 = [10 210]; P2 = [140 210]; Z0 = [(P1(1)+P2(1))/2 225]; % Reference point, assuming it is in the m...

거의 5년 전 | 0

답변 있음
Saving / Showing Value of Variables in Genetic Algorithms
This guy here give an example output function to obtain variable in each iteration on a pattern search optimization. Maybe it is...

거의 5년 전 | 0

답변 있음
why points examined in Pattern Search exceed the lower or Upper bounds and is there any way to avoid this?
What is your initial point and initial mesh size? Perhaps these already exceeds your bounds. Edit: Hmm, what if you normalize ...

거의 5년 전 | 0

| 수락됨

답변 있음
How to skip paretosearch iteration
In the objective function, you can put a large penalty or result to make it like a bad result, so pattern search won't consider ...

대략 5년 전 | 0

질문


fprintf can't make new line
I want to edit a line of a text file (tcl file actually). I tried with following code: A = 5; tcl = regexp(fileread('old_file....

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

1

답변

질문


Rotate 3D surface matrices
I have three matrices for surf command: X, Y, Z. I need to rotate the matrices along z-axis by some degrees. I remember there is...

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

1

답변

답변 있음
Finding Rest of Row
Do you mean like vlookup in excel? Try this: data = randi(1,4,5); % Just an example matrix first = data(randi(4),1); % Example...

대략 5년 전 | 0

| 수락됨

답변 있음
Battery charging profile - Most efficient way of plotting
I have suggestion for your long repetitive elseif, try to use this instead: z = randi(100); zLim = [logspace(0,2,9) Inf]; % li...

대략 5년 전 | 1

답변 있음
How to plot graph from equation
I'm not sure what do you want, is it like this? x3 = [1 0.1 0.01 0.001]; x2 = zeros(3,4); for i=1:4 x1 = [-2 1 0;1 -2 1;...

대략 5년 전 | 0

| 수락됨

답변 있음
Error using optimization tool bx
Try this [x,fval] = ga(@objective,6); function f = objective(x) f = -2.84.*x(:,1)+0.22.*x(:,2)+3.33.*x(:,3)-1.09.*x(:,4...

대략 5년 전 | 0

답변 있음
Add legend to each figure()???
You need to make the x and y data separately, like this: figure(1) plot(x,P1) hold on plot(x,P2) plot(x,P3) plot(x,TotalDe...

대략 5년 전 | 0

답변 있음
Summing up the answers in for loop that meets criteria
Try this criteria=zeros(220,1) for n = 1:220 pfc = A(combi(n,1),1:270); fef = B(combi(n,2),1:270); zpfc = zscore(pfc); zf...

대략 5년 전 | 0

| 수락됨

더 보기