photo

waqas muhammad


Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


how can i generate the random numbers for specific probabilites
Hello everyone. I need to choose a random number for each probablitiy. The code is in the attachment. The code is perfect, i ju...

5 years ago | 1 answer | 0

1

answer

Question


how to solve this data generating random number problem
Hello everyone. I need some help in my coe while i have some problem when i do use monte carlo method. My code is in the attach...

5 years ago | 0 answers | 0

0

answers

Question


i need to normalize the components seperatley in a code..can anyone please help me..i tries alot but i could'nt do it
i have given my code. i need to normalize h1 to k1, h2 to k2 and h3 to (1-k1-k2). but when i normalize it,then it normalize to 1...

6 years ago | 0 answers | 0

0

answers

Question


hello everyone. i have a probelm while making my code..
i have to fit the theoritical data to experimental data. now there is one probelm.the theoritcal data (p_T) can't fit well to ex...

6 years ago | 0 answers | 0

0

answers

Question


hello everyone. i have alittle problem. i have the equation like this f_0(p_T,T)=f_1(p_T1,T1) + f_2(pT2,T2). i have made the codes for f_1(p_T1,T1) and f_2(pT2,T2) individually. but i don't understand how to do with f_0(p_T,T)
here are the two codes.the first code is for low p_T range while the second is for high p_T range. while pT=0:4.5

6 years ago | 0 answers | 0

0

answers

Question


hi everyone. this is my code. i need some help. there is an error of matirx dimension. i don't understand why is this error..actually i could not find any error when i look at the specific line.
m0=0.139; t1=0.265; t2=0.265; k=0.95; x2=[0.107108081791626;0.121713729308666;0.141187925998053;0.180136319376826;0.19961051...

6 years ago | 1 answer | 0

1

answer

Answered
how to wrtie summation like upto infinity in matlab.. i tried but it gives error. the summation is like this that the lower limit is 1 while the upper limit is infinity.
bundle of thanks sir... it's working now.. thanks agaian for your precious time to give me.....

6 years ago | 0

1

answer

Question


how to make a subplot.i did it but it has little problem.can anyone please guide me.here are codes,i combined them but didn't give the correct subplot.
here is the code. m0=0.938;R=1.2*196.97^(1/3); t0=0.130;beta=0.375;n0=2; x2=[0.644417475728155;0.753640776699029;0....

6 years ago | 1 answer | 0

1

answer

Question


hello everyone.i have a little probelm
m0=0.139;R=1.2*196.97^(1/3); t0=0.113;beta=0.413;n0=2; x2=[0.250000000000000;0.342592592592593;0.444444444444444;0.54629...

6 years ago | 0 answers | 0

0

answers

Question


hello everyone. i need some help. how to put errorbar to a scattered plot,to each point?
x=[10,20,30,40,50], y=[15,20,25,35,45], c=[0.2,0.4,0.5,0.6,0.8] scatter(x,y) c is the error, i have to apply it to y,...

6 years ago | 1 answer | 0

1

answer

Answered
this is my code and it has a problem while calculating kafa=y2/y12
sir, y2 is 15x1 while y12 is 450x1, kafa=y2/y12. i need the result of y2/y12. i mean, row to column division,not elementwise div...

6 years ago | 0

Answered
this is my code and it has a problem while calculating kafa=y2/y12
bsxfun(@rdivide,A,B(:))... this can solve my problem but the number of elements in row and column are different now. so what ca...

6 years ago | 0

Question


this is my code and it has a problem while calculating kafa=y2/y12
kafa=y2/y12. but it gives error.. Matrix dimensions must agree.

6 years ago | 3 answers | 0

3

answers