Feeds
已提交
Scaled Beta Distribution Functions
Scaled beta distribution PDF, CDF, and descriptive statistics
8 years 前 | 1 次下载 |
已回答
CDF(cumulative distribution function) starts not from 0
It seems like your choice of parametric distribution is not appropriate for your data and it seems that you might be approaching...
CDF(cumulative distribution function) starts not from 0
It seems like your choice of parametric distribution is not appropriate for your data and it seems that you might be approaching...
9 years 前 | 0
已回答
How to stop a while loop using a GUI pushbutton?
Essentially of the these solutions are based on the same ideas. Another approach (that uses the same idea) is to use the MATLAB ...
How to stop a while loop using a GUI pushbutton?
Essentially of the these solutions are based on the same ideas. Another approach (that uses the same idea) is to use the MATLAB ...
9 years 前 | 0
已回答
Trying to make a loop for a definite integral
Is something like this what you are after? clear vars *; % Define the function - Note I simplify the denominator in ...
Trying to make a loop for a definite integral
Is something like this what you are after? clear vars *; % Define the function - Note I simplify the denominator in ...
9 years 前 | 0
已回答
What is wrong on these code ?
I suspect the problem is in the for loop, most probably here... fcn = net.inputs{i}.processFcns{i}; settings = net.input...
What is wrong on these code ?
I suspect the problem is in the for loop, most probably here... fcn = net.inputs{i}.processFcns{i}; settings = net.input...
9 years 前 | 0
| 已接受
已回答
converting cell to str
You don't need to convert to a strings, try using <uk.mathworks.com/help/matlab/ref/cellfun.html cellfun> instead. For example, ...
converting cell to str
You don't need to convert to a strings, try using <uk.mathworks.com/help/matlab/ref/cellfun.html cellfun> instead. For example, ...
9 years 前 | 0
| 已接受
已回答
random numbers between a and b with specified mean and variance
As far as I aware there is no bounded probability distribution where the mean and variance are independent of each other, _*and*...
random numbers between a and b with specified mean and variance
As far as I aware there is no bounded probability distribution where the mean and variance are independent of each other, _*and*...
9 years 前 | 1
已回答
How to fprintf with
Expanding my comment above to add in some LaTex specific requirements, here is a basic working example % Define some data ...
How to fprintf with
Expanding my comment above to add in some LaTex specific requirements, here is a basic working example % Define some data ...
9 years 前 | 0
| 已接受
已回答
how to calculate the number of digits after decimal point?
Try something like this a = 1.6556; splt = regexp(num2str(a), '\.', 'split'); dps = str2num(splt{2})
how to calculate the number of digits after decimal point?
Try something like this a = 1.6556; splt = regexp(num2str(a), '\.', 'split'); dps = str2num(splt{2})
9 years 前 | 1
| 已接受
已回答
[DISCONTINUED] MATLAB Answers Wish-list #4 (and bug reports)
A "Follow Question" button. How many time have folk encountered a question that is useful or interesting and they won't too k...
[DISCONTINUED] MATLAB Answers Wish-list #4 (and bug reports)
A "Follow Question" button. How many time have folk encountered a question that is useful or interesting and they won't too k...
9 years 前 | 2
提问
Is it possible to follow a question?
As per the title... is there a way to follow questions here? Quite often a question comes up that may be a problem I have enc...
9 years 前 | 1 个回答 | 1
1
个回答已回答
making smooth curve of M-B
I think that the physics of the problem are wrong. Unless I am mistaken, you are doing a phenomenological simulation of a partia...
making smooth curve of M-B
I think that the physics of the problem are wrong. Unless I am mistaken, you are doing a phenomenological simulation of a partia...
9 years 前 | 1
已回答
Undefined function 'times' for input arguments of type 'cell'.
The most likely problem is that X and/or Y are cells. If so, then you will want to have a look are <http://www.mathworks.com/hel...
Undefined function 'times' for input arguments of type 'cell'.
The most likely problem is that X and/or Y are cells. If so, then you will want to have a look are <http://www.mathworks.com/hel...
9 years 前 | 0
已回答
How to use parfor in nested for loop?
A couple of things to point out. It is always best not to use i and j to index loops, these are both reserved for imaginary ...
How to use parfor in nested for loop?
A couple of things to point out. It is always best not to use i and j to index loops, these are both reserved for imaginary ...
9 years 前 | 0
已回答
Fit Gaussian to randomly distributed points
If I understand your question properly, I think <http://uk.mathworks.com/help/images/ref/imgaussfilt.html imgaussfilt> might be ...
Fit Gaussian to randomly distributed points
If I understand your question properly, I think <http://uk.mathworks.com/help/images/ref/imgaussfilt.html imgaussfilt> might be ...
9 years 前 | 0
已回答
Least mean square optimization problem
You will have to add a non-linear constraint to the problem. I guess the best option would be to use something like fmincon if y...
Least mean square optimization problem
You will have to add a non-linear constraint to the problem. I guess the best option would be to use something like fmincon if y...
9 years 前 | 0
已回答
How to use guidata ?
As Adam said you need to get the input variables from the GUI handles. As soon as the first pushbutton callback is complete, a, ...
How to use guidata ?
As Adam said you need to get the input variables from the GUI handles. As soon as the first pushbutton callback is complete, a, ...
9 years 前 | 0
已回答
could you please translate the following code for me?
I may not know the purpose of the function, but I can answer your questions... xx = linspace(0,x); This line generates 1...
could you please translate the following code for me?
I may not know the purpose of the function, but I can answer your questions... xx = linspace(0,x); This line generates 1...
9 years 前 | 2
| 已接受
已回答
How do I use sprintf for files numbered from 0 till 15?
The first value of fileNum is 1, so the first file is "Experiment_A_1", and "Experiment_A_0" is never reached in the loop. Updat...
How do I use sprintf for files numbered from 0 till 15?
The first value of fileNum is 1, so the first file is "Experiment_A_1", and "Experiment_A_0" is never reached in the loop. Updat...
9 years 前 | 0
| 已接受
已回答
For loop in parfor loop
I don't know the details (perhaps another answer can get technical), but parfor loops don't like assigning values to things like...
For loop in parfor loop
I don't know the details (perhaps another answer can get technical), but parfor loops don't like assigning values to things like...
9 years 前 | 3
| 已接受
已回答
How can this probability function be entered?
Change P to P = (1./(1+exp(-z*e*(VV/(k*T1))))); Since the (1+exp(..)) is a vector you have to use array division (./)
How can this probability function be entered?
Change P to P = (1./(1+exp(-z*e*(VV/(k*T1))))); Since the (1+exp(..)) is a vector you have to use array division (./)
9 years 前 | 0
已回答
sfit object. can't get coefficients.
As Sean de Wolski points out in the question that you linked to, a interpolated surface fit has multiple sets of linear fit coef...
sfit object. can't get coefficients.
As Sean de Wolski points out in the question that you linked to, a interpolated surface fit has multiple sets of linear fit coef...
9 years 前 | 1
已回答
how to plot the cdf of a bernoulli using matlab
A Bernoulli distribution is a Binomial distribution where the number of trials is 1, so you should be able to use binocdf(...
how to plot the cdf of a bernoulli using matlab
A Bernoulli distribution is a Binomial distribution where the number of trials is 1, so you should be able to use binocdf(...
9 years 前 | 1
已回答
binning data and evaluating
It this what you are looking for? lim = [min(y), min(y) + 50] ybin = y(y>= lim(1) & y<=lim(2)) xbin = x(y>= lim(1)...
binning data and evaluating
It this what you are looking for? lim = [min(y), min(y) + 50] ybin = y(y>= lim(1) & y<=lim(2)) xbin = x(y>= lim(1)...
9 years 前 | 0
| 已接受
已回答
Need to convert my equation in to a decimal number
If by a "single decimal num", you mean round to 1 decimal point, then... Let X be your big long equation X2 = round(X*10...
Need to convert my equation in to a decimal number
If by a "single decimal num", you mean round to 1 decimal point, then... Let X be your big long equation X2 = round(X*10...
9 years 前 | 0
已回答
A vector is given v=[6, 3, -9, 10, 5, 0, -8, 11, -15]. write a matlab command the doubles the elements that are odd and raises the elements that are even to th power of 2
Your loop structure above seems a little odd and has some missing "end"s. Try this for a basic loop structure... for k=1:l...
A vector is given v=[6, 3, -9, 10, 5, 0, -8, 11, -15]. write a matlab command the doubles the elements that are odd and raises the elements that are even to th power of 2
Your loop structure above seems a little odd and has some missing "end"s. Try this for a basic loop structure... for k=1:l...
9 years 前 | 0
已回答
Randomly generated row matrix B with constraints?
I guess this is what you are looking for? for ii = 1:length(A) B(ii) = randi([0, A(ii)], 1); end It is not so clea...
Randomly generated row matrix B with constraints?
I guess this is what you are looking for? for ii = 1:length(A) B(ii) = randi([0, A(ii)], 1); end It is not so clea...
9 years 前 | 0
已回答
How to take the maximum value of an array?
Try something like this... a=1:20; steps = 5; b = NaN(mod(length(a)/steps,steps), 1); % preallocate b for speed, if y...
How to take the maximum value of an array?
Try something like this... a=1:20; steps = 5; b = NaN(mod(length(a)/steps,steps), 1); % preallocate b for speed, if y...
9 years 前 | 1
已回答
How to find the correlation between two random numbers
If you have two uncorrelated normally distributed random numbers, given by x, you can use the following to determine Y, which wi...
How to find the correlation between two random numbers
If you have two uncorrelated normally distributed random numbers, given by x, you can use the following to determine Y, which wi...
9 years 前 | 0
| 已接受
已回答
How do I fix a variable to a certain number??
I suspect that cx is defined in a callback function somewhere, but is not passed back to the GUI handles, so that to the other G...
How do I fix a variable to a certain number??
I suspect that cx is defined in a callback function somewhere, but is not passed back to the GUI handles, so that to the other G...
9 years 前 | 0