photo

Quynh tran


自 2016 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 3
  • First Answer

查看徽章

Feeds

排序方式:

提问


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 前 | 1 个回答 | 0

1

个回答

提问


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 前 | 1 个回答 | 0

1

个回答

提问


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 前 | 1 个回答 | 0

1

个回答

提问


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 前 | 1 个回答 | 0

1

个回答

提问


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 前 | 1 个回答 | 0

1

个回答

提问


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 前 | 0 个回答 | 0

0

个回答

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

7 years 前 | 0

| 已接受

提问


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 前 | 4 个回答 | 0

4

个回答

提问


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 前 | 1 个回答 | 0

1

个回答

提问


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 前 | 0 个回答 | 0

0

个回答

提问


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 前 | 0 个回答 | 0

0

个回答

提问


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 前 | 2 个回答 | 0

2

个回答

提问


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 前 | 2 个回答 | 0

2

个回答

提问


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 前 | 2 个回答 | 0

2

个回答

提问


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 前 | 1 个回答 | 0

1

个回答

提问


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 前 | 3 个回答 | 0

3

个回答

已回答
what is mistake in my matlab code
do you have any correct?

8 years 前 | 0

已回答
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 前 | 0