photo

cakey


1993

2014 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 3

バッジを表示

Feeds

表示方法

質問


How can I make the dimensions agree for this function
f = @(x) x - exp(cos(transpose[1:4])*sum(x)); And x=[2.5;2;1.4;.9] is a column vector. when I subtract it says error Matrix dim...

10年弱 前 | 1 件の回答 | 0

1

回答

質問


Subscripted assignment dimension mismatch.(matrices)
J = eye(4); % 4x4 identity matrix u = sum(x); N=[exp(cos(u))*sin(u),exp(cos(u))*sin(u),exp(cos(u))*sin(u),exp(cos(u))*si...

10年弱 前 | 2 件の回答 | 0

2

回答

質問


How do i complete this matrix that has n+1 rows and m columns?
This stops at the 2nd row of the matrix, How can i get the whole matrix? Also, can someone explain what is going on? func...

約10年 前 | 1 件の回答 | 0

1

回答

質問


Help vectors size doesn't match...why?
This is my code to evaluate Lagrange where x_in are the given interpolation points and x_out is suppose to be f(x_in), but it ke...

約10年 前 | 1 件の回答 | 0

1

回答

質問


How to make this Lagrange formula vectorized work for all Ln? This is only for L3
if true % code end function f_handle = make_L3(x_in) x3 = x_in(3); not_x3 = [x_in(1:2), x_in(4:end)]; ...

約10年 前 | 0 件の回答 | 0

0

回答

質問


How do I write this expression in matlab?
How do I write this expression in matlab? a(n)=sqrt(a(n-1))*(n+1)^(1/(2*k))

約10年 前 | 1 件の回答 | 0

1

回答

質問


How do I get formula for the nth term of this on matlab?
sqrt(1+2sqrt(1+3sqrt(1+4sqrt(1+...)))) I know this limit is 3...but I need to get matlab to give me the first 40 terms. I am...

約10年 前 | 4 件の回答 | 0

4

回答

質問


How to run this code on any inputs?Newton
function [p,k] = newton(f,df,p0,tol) for k=1:100 p = p0 - f(p0)/df(p0); if abs(p-p0)<tol, break; end p0 = p;...

約10年 前 | 2 件の回答 | 0

2

回答

質問


How do I get my code to display the associated x values for maximum and minimum
In addition, How do I get it to label the coordinates in the graph it makes? I tried getting it to display Xmax or Xmin, but...

約10年 前 | 1 件の回答 | 0

1

回答

質問


Help my code won't run for finding the minimum and maximum of a function
The function is p(x) and when you take the derivative, I get the quadratic formula and I'm trying to use it to find critical poi...

約10年 前 | 2 件の回答 | 0

2

回答