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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 2 个回答 | 0

2

个回答