Community Profile

photo

Quynh tran


Aktiv seit 2016

Statistiken

  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

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

fast 7 Jahre vor | 0

| akzeptiert

Frage


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.

fast 7 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 3 Antworten | 0

3

Antworten

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0