mohammed elmenshawy
Followers: 0 Following: 0
Feeds
提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 3 个回答 | 1
3
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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)...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 2 个回答 | 0
2
个回答提问
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) ?
8 years 前 | 1 个回答 | 0
1
个回答提问
How can write the following ? where p is probability ?
<</matlabcentral/answers/uploaded_files/68472/mohammed.jpg>>
8 years 前 | 1 个回答 | 0
1
个回答提问
i have the observation z(1),z(2),..., z(n) a numerical values and have B is called back shift operator . when B intervention on any observation z(n) give me the previous observation as following
<</matlabcentral/answers/uploaded_files/67150/1234.jpg>>
8 years 前 | 0 个回答 | 0
0
个回答提问
i have the observation z(1),z(2),..., z(n) a numerical values and have B is called back shift operator . when B intervention on any observation z(n) give me the previous observation as following
<</matlabcentral/answers/uploaded_files/67065/1991.jpg>>
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 2 个回答 | 0
2
个回答提问
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>>
8 years 前 | 1 个回答 | 0
1
个回答提问
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*...
8 years 前 | 0 个回答 | 0
0
个回答提问
i want write the next function by matlab ?
<</matlabcentral/answers/uploaded_files/66075/11111.jpg>>
8 years 前 | 1 个回答 | 0
1
个回答提问
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>>
8 years 前 | 1 个回答 | 0
1
个回答提问
i have ARMA(2,1) model (1-∅1* p - ∅2 *p^2 ) Zt=(1-c) * at . I want estimate the parameters ∅1 , ∅2 and c by maximum likelihood method ؟ what should I do . Please help me
where {at} follows the normal distribution (0 ,segma ^2)
8 years 前 | 0 个回答 | 0
0
个回答提问
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...
8 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
8 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
8 years 前 | 1 个回答 | 0
1
个回答提问
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,:,:...
8 years 前 | 1 个回答 | 0
1
个回答提问
Can I create array which its elements also arrays ?
Can I create array which its elements also array ?
8 years 前 | 2 个回答 | 0
2
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 2 个回答 | 0