photo

Quynh tran


Con actividad desde 2016

Followers: 0   Following: 0

Estadística

  • Thankful Level 3
  • First Answer

Ver insignias

Feeds

Ver por

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 0 respuestas | 0

0

respuestas

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

alrededor de 7 años hace | 0

| aceptada

Pregunta


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.

alrededor de 7 años hace | 4 respuestas | 0

4

respuestas

Pregunta


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

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

alrededor de 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 8 años hace | 3 respuestas | 0

3

respuestas

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

más de 8 años hace | 0

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

más de 8 años hace | 0