photo

Quynh tran


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Question


dec2bin ast n=25
Dear all, I want to create a matrix including number 0 and 1. but only 10 number 1 in a row. for example: A=[1 1 1 1 1 1 ...

7 years ago | 1 answer | 0

1

answer

Question


Extract data from columm
Dear all, Could you help me? I have this matrix: A= [1 3 0 2 0 0 3 0 0 4 3 0 5 0 0 6 0 ...

7 years ago | 1 answer | 0

1

answer

Question


Change the expression of number
Dear all, I have this number A=0.1235689745654 but when I need to show it, just only 4 number after dot "." wa...

7 years ago | 1 answer | 0

1

answer

Question


create binary 0 and 1
Dear all, I have matrix of binary with n=5 A=[0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 .... ...

7 years ago | 1 answer | 0

1

answer

Question


sort from largest to smallest
Dear all, I have this matrix: A=[1 3 3 6 4 7 5 8 6 2 8 3 9 6] Could you help me how to arrange the fir...

7 years ago | 1 answer | 0

1

answer

Question


Ybus three phase unbalanced distribution grid
Dear all, Could you help me to code Ybus caculation for three phase unbalanced of distribution grid or any document about the ...

7 years ago | 0 answers | 0

0

answers

Answered
Count number 1 in the row
Thanks everybody, I had my solution count=sum(x)

7 years ago | 0

| accepted

Question


Count number 1 in the row
Dear all, I have this range: x=[0 0 0 1 0 1 0 0] I want to count number 1 in this row. Could you help me? Thanks.

7 years ago | 4 answers | 0

4

answers

Question


how to cut the matrix
Dear all, I have a matrix like this: [1 0.1 2 0.2 3 0.3 4 0.5 5 0.6 6 1.2 7 1.2 8 1.3] I want to cu...

7 years ago | 1 answer | 0

1

answer

Question


How to code a binary for some possition to change status for bus
Dear all, I have this table: BusNo Bus ID 1 1 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 and the...

7 years ago | 0 answers | 0

0

answers

Question


how to defined popuation in this code?
Dear all, I have this code. I want to change it to firefly algorithm. Could you help me to defind the population for this case. ...

7 years ago | 0 answers | 0

0

answers

Question


how to write this function
I have this problem: % A B C obj P =[1 4 4 0.1 2 6 6 0.1 4 7 7 0.4 5 8 2 0.3 ...

7 years ago | 2 answers | 0

2

answers

Question


what chace i need to make better answer? check fsolve
I have this algorithm: function F=giaiphuongtrinh(x) Pv=5; Pred=6; Pl=10; Ebmax=20; Ebmin=2; ...

8 years ago | 2 answers | 0

2

answers

Question


Speed up Matlab funtion optimset or fsolve
I repaired my post: pop = [ 17.5489 22.0450 12.3356 0 0 0 24.2207 24.4891 11....

8 years ago | 2 answers | 0

2

answers

Question


fsolve error when I change the given matrix
I have my prolems like this: function F=myfun(x) F=[x(1)+a*x(2)+b*x(3) x(1)+5*x(2)+4*x(3) x(1)+2*x(2)+3*x(3)] P...

8 years ago | 1 answer | 0

1

answer

Question


what is mistake in my matlab code
Ybusn(linedata)= Columns 1 through 5 14.7752 - 6.4985i 0.0000 + 0.0000i 0.0000 + 0.0000i -14.7752 + 6.4985i ...

8 years ago | 3 answers | 0

3

answers

Answered
what is mistake in my matlab code
do you have any correct?

8 years ago | 0

Answered
WHY THIS ERROR OCCUR ''??? Subscript indices must either be real positive integers or logicals."" IN 14TH LINE OF MY PROGRAM.PLEASE HELP ME .....THANKING YOU
clear all; zdata=[1 2 .025 .1;2 3 .02 .08;3 4 .05 .2;1 4 .04 .16]; n1=zdata(:,1); nr=zdata(:,2); r=zdata...

8 years ago | 0