COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register
i.charvet (15) 7 Articles, 8 Replies, 15 Points
Stats Updating... 5/23/2013 3:27:21 AM

Since 5/30/2012 5:46:24 PM, i.charvet has written 7 articles and participated in 8 conversations.
i.charvet signature:
i.charvet

i.charvet's articles:
 Items(7) /1 Only x-axis in log scale? 2 1 (4/16/2013 5:23:08 PM) comp.soft-sys.matlabHi all, I am using semilogx to plot the following - and it doesn't work, i.e. I still end up with a standard scale for the x-axis... Xaxis=[0:0.0001:1]; Yaxis=pi.*((1/0.4445).*Xaxis).^(2/5); figure(1...Ingrid Calculations on vectors containing NaN 8 39 (7/22/2012 6:58:13 PM) comp.soft-sys.matlabHi all, I have N vectors of different lengths, and I want to calculate the mean of all the numeric values in each vector (so I want N means). Matlab will return a NaN mean if I have NaNs in a vector, how...Ingrid Standardized Pearson Residuals 0 39 (7/18/2012 6:13:12 PM) comp.soft-sys.matlabHello, I am using the generalised linear model to fit a function to my data: [b,dev,stats] = glmfit(X,[h, nTotal],'binomial','link','probit'); Stats contains the pearson residuals, is there any way thi...Ingrid Replace NaN by a value 4 38 (6/1/2012 1:02:12 PM) comp.soft-sys.matlabHello, I have a vector y which contains a number of 'NaN's, I want to replace each NaN by a specific value i.e. 0.5 (and keep the other values) I tried the below (which does not work): for i=1:length(y...Ingrid combinations with repetitions, order not important 8 62 (9/7/2011 4:17:28 PM) comp.soft-sys.matlabHello everyone, I have 3 parameters (n=3) in a vector v, and I need to store all the possible combinations for 4 of them at a time (r=4) Repeats of elements in v are allowed, order is not important (so C(n,r)...Ingrid Create vector changing size in a loop 1 18 (6/16/2011 7:24:04 PM) comp.soft-sys.matlabHi everyone, Considering the following loop: for jkl=1:n [max_amplitude(jkl), imax]=max(probes(:,jkl)); id1 = imax; while probes(id1)>0.015*max_amplitude(jkl) id1=id1-1; ...Ingrid Knowing X, find the closest value to X in a vector 4 30 (4/12/2011 4:48:05 PM) comp.soft-sys.matlabHi, I have calculated a theoretical value X; I want to find the position of the closest value to X in a vector F. I have tried i=find(F==X) without success, I guess because the exact value of X is not in F. ...Ingrid

i.charvet's replies:
 Items(5) /1 Only x-axis in log scale? 2 1 (4/16/2013 5:23:08 PM) comp.soft-sys.matlabHi all, I am using semilogx to plot the following - and it doesn't work, i.e. I still end up with a standard scale for the x-axis... Xaxis=[0:0.0001:1]; Yaxis=pi.*((1/0.4445).*Xaxis).^(2/5); figure(1...i.charvet (15) Knowing X, find the closest value to X in a vector 4 30 (4/12/2011 4:48:05 PM) comp.soft-sys.matlabHi, I have calculated a theoretical value X; I want to find the position of the closest value to X in a vector F. I have tried i=find(F==X) without success, I guess because the exact value of X is not in F. ...i.charvet (15) combinations with repetitions, order not important 8 62 (9/7/2011 4:17:28 PM) comp.soft-sys.matlabHello everyone, I have 3 parameters (n=3) in a vector v, and I need to store all the possible combinations for 4 of them at a time (r=4) Repeats of elements in v are allowed, order is not important (so C(n,r)...i.charvet (15) Replace NaN by a value 4 38 (6/1/2012 1:02:12 PM) comp.soft-sys.matlabHello, I have a vector y which contains a number of 'NaN's, I want to replace each NaN by a specific value i.e. 0.5 (and keep the other values) I tried the below (which does not work): for i=1:length(y...i.charvet (15) Calculations on vectors containing NaN 8 39 (7/22/2012 6:58:13 PM) comp.soft-sys.matlabHi all, I have N vectors of different lengths, and I want to calculate the mean of all the numeric values in each vector (so I want N means). Matlab will return a NaN mean if I have NaNs in a vector, how...i.charvet (15)