Community Profile

photo

waqas muhammad


Con actividad desde 2018

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


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

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

1

respuesta

Pregunta


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

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 6 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 6 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 6 años hace | 1 respuesta | 0

1

respuesta

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

casi 6 años hace | 0

Pregunta


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.
the picture of contains the specific summation which i am confused about.

casi 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

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

1

respuesta

Pregunta


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

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

0

respuestas

Pregunta


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

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

1

respuesta

Respondida
hello guys.this is my code.x2 and y2 are the experimental data while pt and y12 are the theoritical fittings.y2 has 10 values while y12 has 450 points.i need to take the 10 points from theoritical on the same pt as experimental
x2i = x2 ; y2i = interp1(pt,y12,x2i) ; kafa=y2./y2i plot(x2,kafa) sir like this..right?i divide that experimental by the...

más de 6 años hace | 0

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

más de 6 años hace | 0

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

más de 6 años hace | 0

Pregunta


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.

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

3

respuestas