Feeds
提问
Maximum Likelihood Estimation function
syms a logL=100.*log(a)+sum(log(exp(a.*c2))+sum(log((1+exp(a.*c2)).^-2))); j = fplot(logL) hold on %% m=100/a; o=sum(c); ...
2 years 前 | 2 个回答 | 0
2
个回答提问
Calling out from for loop
for i=0:7 i=fibonacci(sym(i+1)) end I have this for loop and i want to call out the 6th term so i put it in an equation. ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Plotting points of intersection using Newton Raphson
I am creating a raw code for the Newton raphson method using a while loop like so x=1; xold=0; i=0; format short while abs(...
3 years 前 | 1 个回答 | 0
1
个回答提问
Newton Raphson to find intersection of graphs
So after i plotted the functions f=cos(x)+1 and g=sin(x) and tried to mark where the graphs intersect using this code x=0.5; x...
3 years 前 | 1 个回答 | 0
1
个回答提问
For loop with previous result
for t=1:n a(t)=600+10^t b(t)=600-a(t) end I want that b to always taking the previous result so, b(1)=600-a(1) b(...
3 years 前 | 1 个回答 | 0
1
个回答提问
Taking a descend interval
for t=1:n [L(t)]=(1/(50)^(t)) [C(t)]=(1/(800))^(t); end For the 1st line (L(t)) i need to use the interval 1:n howev...
3 years 前 | 1 个回答 | 0
1
个回答提问
2 values for inputs of a function
If i have a function example: function(T,L)=answ(b,c,d) L= b + c + d T= 2*L end and i have 2 of c which are 25 and 60 1 o...
4 years 前 | 1 个回答 | 0
1
个回答提问
Computing same monthly payment
Month = (1:n)'; Monthly_Amount(60,1)=(P*i/(1-(1+i)^-n)) This is part of a code to create a monthly payment. My question is tha...
4 years 前 | 0 个回答 | 0
0
个回答提问
How can i create a table?
I need to create a table from a function of inputs and outputs of vectors of loan repayments. What is the layout of the commands...
4 years 前 | 1 个回答 | 0
1
个回答提问
n as the natural numbers
What command is used to enter that n is element of the natural numbers?
4 years 前 | 2 个回答 | 0
2
个回答提问
How can i display this sequence in a graph?
x_n = (n.^2-1)/n.^2 Using Matlab.
4 years 前 | 1 个回答 | 0