photo

mohammed elmenshawy


Last seen: circa 2 anni fa Attivo dal 2016

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


please help me, i wrote the following code. but all results is NaN and give me empty diagram . where the problem in my code or where is the error ?
% [fxxdc]=therioticalfunction(1,0.2) function [ fxxdc]=therioticalfunction(ld,a) [w1,w2]=meshgrid(0:pi/20:pi,0:pi/20:pi); fxx...

circa 4 anni fa | 0 risposte | 0

0

risposte

Domanda


Someone please help me, I have probability mass function as follwing, How can generate 100 random values of j from this probability mass function?
Note: λ>0 and 0≤α≤1/2 and 0≤P(X=j)≤1. (Take initial valus for λ, α and p(X=j) from thir domain as you like as example) I wan...

oltre 4 anni fa | 3 risposte | 1

3

risposte

Domanda


I have the probability-generating function G(s) as following , how got the mentioned Probability-mass function f(k) from it ??
syms u s a k; G =(1+a*(1+u)-a*(1+u)*s)/((1+u-u*s)*(1+a-a*s)); f(s)=diff(G,s,k); pmfa=f(0)/factorial(k); but the result...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


please help me, i have the result as following , and i want save it in excel file but the code shows error
i used the command fileName='result.xlsx'; writetable(fhsmooth,fileName); winopen(fileName) but the code shows Undef...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


i have the following problem. please help me?

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


plese help me. i have the follwing problem in my code?
and my code %[fhsmooth]=fmultitapersmooth(40,8,10,3,X) function [fhsmooth]=fmultitapersmooth(t,M,NP,L,X) ja=0;r=sqrt(-1)...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


plese help my, The following code is a small example of what I want to do. I want the result of the integration and the solution of this problem
syms x; syms y; k= 2*x+3*y; f= 4*x+5*y; m=@(x,y)k.*f; z=integral2(m,0,2,1,4); I know a simple solution to this small examp...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How do I give order or number for "a" with ijk in the following code ? Please help me
for example : a_ 111= 2 a_112=4 a_234=48 and so on In other words, how do I show the " a" rank? and how is "a" data...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Hi, the following code calculate true but cant plot the functions, why ? . Not this code display error : Error using mesh (line 75) Data dimensions must agree. Error in bispectwPARZENEWINDmod (line 82) mesh(w1,w2,fn); please help me ?
%estimated bispectral and normalized bispectra using parzen lag window function[w1,w2,fn,fargu,fmod]=bispectwPARZENEWINDmod(N,M...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


i have the following array
Z=[22,45,65,35,65,54,45,67,84,95,86,58,29,95,93]; How to choose 5 random numbers from these numbers?? So that the output is wit...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


hi, i have set of numbers as following :
Z=[1,5,7,4,3,6,77,88,34,73,58,97,23,55,30,49,86,76,64,64,54,54,65,76,76,62,83,59,62,57,48]; How to choose 10 random numbers fr...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


i want save the table in file on my computer , i wrote the following but display error ? what should i do ?
save Table3; fname='newfile.xlsx'; xlswrite(fname,Table3); Error using save Unable to write file Table3: permission denied...

quasi 8 anni fa | 2 risposte | 0

2

risposte

Domanda


z is a random variable follow the standard normal distribution . i want calculate the probability p(z<-0.5271) and p(z>0.02) ?
z is a random variable follow the standard normal distribution . i want calculate the probability p(z<-0.5271) and p(z>0.02) ?

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


How can write the following ? where p is probability ?
<</matlabcentral/answers/uploaded_files/68472/mohammed.jpg>>

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


The following code contain the mentioned error . what to do ?
n=6; phi1=0.3; phi2=0.5; seta=0.4; z0=0.6; s=2; a=normrnd(0,(s)^2,n,1); z=zeros(n,1);z0=0.4;z(1)=.3; z(2)=phi1*z(1)+phi...

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


i have a problem ,
A summary of what I want to do . i have function of 3 parameters L=f(x,y,z). i need differential this function with respect to x...

quasi 8 anni fa | 2 risposte | 0

2

risposte

Domanda


i write the next code by mathematica . i want write it by matlab . how ? please help me?
<</matlabcentral/answers/uploaded_files/66208/Screenshot%20-%2012_22_2016%20,%2012_47_57%20PM.jpg>>

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


i have function L and initial values phi1 ,phi2 and seta . I want to be derivative this function and equal it by zero for getting the estimated values of these initial values. but showing the next error .what to do?
<</matlabcentral/answers/uploaded_files/66124/ppp.jpg>> syms phi1 phi2 seta L=- ((38*phi1)/281 - (89*phi2)/902 + (149*...

quasi 8 anni fa | 0 risposte | 0

0

risposte

Domanda


i want write the next function by matlab ?
<</matlabcentral/answers/uploaded_files/66075/11111.jpg>>

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


i write the next by mathematica . i want write it by matlab . how ?
<</matlabcentral/answers/uploaded_files/66066/Screenshot%20-%2012_22_2016%20,%2012_47_57%20PM.jpg>>

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


hi, i want partition largest interval(contain more than element) to 4 interval , and partition the second biggest interval to 3 interval,and partition the third biggest interval to 3 interval, But the rest remains the same.retaining orderofinterval
% i have n values z1,z2 , ...,zn this is numerical values . i partition this to seven interval as following and calculate the le...

circa 8 anni fa | 0 risposte | 0

0

risposte

Domanda


hi, i use the following code . the output is 15 values , i want stored this values automatically in array in order to Call these values again
for sw=1:15 n=[10;20;30;40;50;60;70;80;90;100];phi=0.5; s=2; z0=0.4; index=0; o=10; for nn=1:o ...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


hi, i use code contain the following code . i need the output for the following code dont display in output ?
for i=1:mm temp1=A(i,:,:); whos temp1 temp2 = nonzeros(temp1); whos temp2 temp3 = unique(temp2); whos temp3 ...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


the next code without for loop display accurately results but when use the loop show error "Assignment has more non-singleton rhs dimensions than non-singleton subscripts", why ? and What can I do to solve this problem?
for i=1:30 b(i,:,:)=nonzeros(A(i,:,:)); bb(i,:,:)=unique(b(i,:,:)); bbb(i)=sum(bb(i,:,:))/length(bb(i,:,:...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Can I create array which its elements also arrays ?
Can I create array which its elements also array ?

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


hi , How do I activate the i (subscript) in Subscript[A, i] in order to display output in mm of array
for r=1:(n-1) for i=1:mm if (out(i,1)<z(r)&z(r)<out(i,2)) for j=1:mm if (out(j,1)<z(r+1...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


hi . i have n observation z1 , z2, z3 , ...... zn that is numerical value and not ordered . i need partion it to interval as following
z1,z2,...,zn % known data a=min(z) b=max(z) k =3.322*log(n) %such that k number of interval L= (max(z)-min(z))/k %such t...

oltre 8 anni fa | 2 risposte | 0

2

risposte

Carica altro